41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
# Misc settings(documentation etc}
|
|
{lib, pkgs, ...}: {
|
|
documentation = {
|
|
enable = true;
|
|
dev.enable = true;
|
|
doc.enable = true;
|
|
info.enable = true;
|
|
man = {
|
|
enable = true;
|
|
generateCaches = true;
|
|
man-db.enable = false;
|
|
mandoc.enable = true;
|
|
};
|
|
nixos = {
|
|
enable = true;
|
|
includeAllModules = true;
|
|
options.splitBuild = true;
|
|
};
|
|
};
|
|
environment.enableAllTerminfo = true;
|
|
environment.homeBinInPath = true;
|
|
environment.localBinInPath = true;
|
|
environment.noXlibs = false;
|
|
services.openssh.enable = lib.mkForce true;
|
|
services.openssh.permitRootLogin = lib.mkForce "yes";
|
|
time.timeZone = "America/New_York";
|
|
|
|
## THIS IS A HACK
|
|
## DO NOT DO THIS
|
|
## Allows mason.nvim to work properly
|
|
## ONCE AGAIN, DO NOT DO THIS
|
|
environment = {
|
|
extraSetup = ''
|
|
mkdir -p $out/lib64
|
|
ln -sf ${pkgs.glibc}/lib64/ld-linux-x86-64.so.2 $out/lib64/ld-linux-x86-64.so.2
|
|
'';
|
|
};
|
|
systemd.tmpfiles.rules = [
|
|
"L+ /lib64 - - - - /run/current-system/sw/lib64"
|
|
];
|
|
}
|