This commit is contained in:
Hadi
2024-06-17 19:50:35 +02:00
parent 4aba4116de
commit a703d0816b
4 changed files with 7 additions and 9 deletions

View File

@@ -122,7 +122,7 @@
system.autoUpgrade = if config.var.autoUpgrade then {
enable = true;
dates = "04:00";
flake = "${config.users.users.${config.var.username}.home}/.config/nixos";
flake = "${config.var.configDirectory}";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
allowReboot = false;
} else