nix/nixos/common/modules/nixos.nix
iFargle 6d0bf60626
Some checks failed
build-linode-img / build-linode-img (push) Failing after 29s
Cleanup
2023-12-17 09:06:31 +09:00

23 lines
No EOL
543 B
Nix

{ ... }: {
# Enable flakes: https://nixos.wiki/wiki/Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This is now done with deploy-rs
# Keep the system up-to-date automatically
# system = {
# autoUpgrade = {
# enable = true;
# allowReboot = false;
# dates = "daily";
# flake = "git+file:/etc/nixos/flake.nix";
# };
# };
# Garbage collection -- Keep the system clean
nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
}