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 = '' script = ''
${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --flake "/root/.config/linux/system#$HOSTNAME" ${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 = { systemd.timers.autoupdate = {

View file

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