Compare commits

..

No commits in common. "c8882354e2187e55368b0d74a3b4a539b22fcae6" and "d71551f476dfd1548c3305c718adaba398eab37f" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View file

@ -10,7 +10,6 @@
];
script = ''
${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --flake "/root/.config/linux/system#$HOSTNAME"
${config.nix.package.out}/bin/nix-collect-garbage --delete-older-than 7d
'';
};
systemd.timers.autoupdate = {

View file

@ -1,10 +1,9 @@
{ environment, ... }: {
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
nix.extraOptions = ''
experimental-features = nix-command flakes
keep-derivations = true
keep-outputs = true
'';
nix.extraOptions = "experimental-features = nix-command flakes";
nix.gc.automatic = false;
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than 7d";
nix.settings.auto-optimise-store = true;
nixpkgs.config.allowUnfree = true;
}