1
0
Fork 0

Fix gc config

This commit is contained in:
Malte Brandy 2020-09-21 08:56:45 +02:00
parent 21df487d14
commit 26f8fed1e3
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 10 additions and 8 deletions

View file

@ -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

View file

@ -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