Merge pull request #104870 from FRidh/flake
nixos auto-upgrade: remove flag when flake
This commit is contained in:
commit
54745a4f5e
@ -109,9 +109,8 @@ in {
|
|||||||
'';
|
'';
|
||||||
}];
|
}];
|
||||||
|
|
||||||
system.autoUpgrade.flags = [ "--no-build-output" ]
|
system.autoUpgrade.flags = (if cfg.flake == null then
|
||||||
++ (if cfg.flake == null then
|
[ "--no-build-output" ] ++ (if cfg.channel == null then
|
||||||
(if cfg.channel == null then
|
|
||||||
[ "--upgrade" ]
|
[ "--upgrade" ]
|
||||||
else [
|
else [
|
||||||
"-I"
|
"-I"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user