Former-commit-id: a703d0816b
This commit is contained in:
Hadi
2024-06-17 19:50:35 +02:00
parent 6f3c922010
commit e29a5c2517
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