Fix gc config
This commit is contained in:
parent
21df487d14
commit
26f8fed1e3
|
@ -53,11 +53,6 @@ in {
|
|||
fallback = true
|
||||
keep-outputs = true
|
||||
'';
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "Mon 4:00";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services = let
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
imports = [ ./admin.nix ];
|
||||
|
||||
# So that boot does not fill up with old kernels
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
loader = {
|
||||
timeout = 0;
|
||||
grub = {
|
||||
backgroundColor = "#000000";
|
||||
# So that boot does not fill up with old kernels
|
||||
configurationLimit = 5;
|
||||
};
|
||||
};
|
||||
|
@ -22,9 +22,16 @@
|
|||
security.sudo.extraConfig =
|
||||
"\n Defaults timestamp_type=global, timestamp_timeout=15\n ";
|
||||
|
||||
services = { sshd.enable = true; };
|
||||
services.sshd.enable = true;
|
||||
|
||||
nix.nixPath = [ "nixos-config=/etc/nixos/configuration.nix" ];
|
||||
nix = {
|
||||
nixPath = [ "nixos-config=/etc/nixos/configuration.nix" ];
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "Mon 4:00";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
# Put these into an extra file so the essential packages can also be included on non selfadminstrated systems from home-manager
|
||||
|
|
Loading…
Reference in a new issue