Compare commits
No commits in common. "c8882354e2187e55368b0d74a3b4a539b22fcae6" and "d71551f476dfd1548c3305c718adaba398eab37f" have entirely different histories.
c8882354e2
...
d71551f476
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue