moved modules into host-modules

This commit is contained in:
Leyla Becker 2024-11-24 14:55:19 -06:00
parent 755c7f0e3a
commit a755b9ff48
10 changed files with 5 additions and 5 deletions

28
host-modules/system.nix Normal file
View file

@ -0,0 +1,28 @@
{...}: {
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
optimise = {
automatic = true;
dates = ["weekly"];
};
};
services = {
openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = false;
UseDns = true;
X11Forwarding = false;
};
};
};
}