Configure but disable auto upgrade task

This commit is contained in:
Valentin Brandl 2024-09-01 14:54:58 +02:00
parent 1a56aa5fe5
commit 065172f1f9
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
2 changed files with 14 additions and 2 deletions

View File

@ -22,7 +22,19 @@ inputs.nixpkgs.lib.nixosSystem {
(import ./office.nix inputs)
({ pkgs, lib, ... }: {
system.autoUpgrade = {
enable = true;
enable = false;
flake = inputs.self.outPath;
flags = [
"--update-input"
"nixpkgs"
"--update-input"
"nixpkgs-unstable"
"--update-input"
"home-manager"
"--update-input"
"flake-utils"
"-L" # print build logs
];
allowReboot = false;
};

View File

@ -13,7 +13,7 @@ inputs.nixpkgs.lib.nixosSystem {
(import ./office.nix inputs)
({ pkgs, lib, ... }: {
system.autoUpgrade = {
enable = true;
enable = false;
allowReboot = false;
};