Disable autoUpgrade for regular machines, only keep for server
This commit is contained in:
parent
07cce0e8a8
commit
162c76c46d
15
flake.nix
15
flake.nix
|
@ -93,20 +93,7 @@
|
|||
sansSerif = font "aile";
|
||||
monospace = font "nerdfont";
|
||||
};
|
||||
system = {
|
||||
inherit stateVersion;
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = lib.mkDefault self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--no-write-lock-file"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "02:00";
|
||||
};
|
||||
};
|
||||
system = {inherit stateVersion;};
|
||||
users = {
|
||||
defaultUserShell = pkgs.${defaultUserShell};
|
||||
users = let
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
{config, ...}: {
|
||||
users.mutableUsers = false;
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+${config.nix.registry.nixos.to.url}";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--no-write-lock-file"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "02:00";
|
||||
randomizedDelaySec = "15min";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
|
|
Loading…
Reference in a new issue