bjarte: only keep 5 nixos revisions
This commit is contained in:
parent
eda580dbc3
commit
08a31cba75
9
base.nix
9
base.nix
|
@ -80,8 +80,9 @@
|
||||||
networking.firewall.enable = true; # default
|
networking.firewall.enable = true; # default
|
||||||
|
|
||||||
# https://discourse.nixos.org/t/what-to-do-with-a-full-boot-partition/2049
|
# https://discourse.nixos.org/t/what-to-do-with-a-full-boot-partition/2049
|
||||||
boot.loader.grub.configurationLimit = 15;
|
# raise to 15 if auto upgrading
|
||||||
boot.loader.systemd-boot.configurationLimit = 15;
|
boot.loader.grub.configurationLimit = lib.mkDefault 5;
|
||||||
boot.loader.raspberryPi.uboot.configurationLimit = 15;
|
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 5;
|
||||||
boot.loader.generic-extlinux-compatible.configurationLimit = 15;
|
boot.loader.raspberryPi.uboot.configurationLimit = lib.mkDefault 5;
|
||||||
|
boot.loader.generic-extlinux-compatible.configurationLimit = lib.mkDefault 5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,4 +26,10 @@
|
||||||
"--update-input" "nixos-hardware"
|
"--update-input" "nixos-hardware"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# lots of "empty" updates
|
||||||
|
boot.loader.grub.configurationLimit = 15;
|
||||||
|
boot.loader.systemd-boot.configurationLimit = 15;
|
||||||
|
boot.loader.raspberryPi.uboot.configurationLimit = 15;
|
||||||
|
boot.loader.generic-extlinux-compatible.configurationLimit = 15;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue