Configure but disable auto upgrade task
This commit is contained in:
parent
1a56aa5fe5
commit
065172f1f9
@ -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;
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||
(import ./office.nix inputs)
|
||||
({ pkgs, lib, ... }: {
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
allowReboot = false;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user