europa: disable autoupdate, move DIRTY comment to proper location
This commit is contained in:
parent
131ec0aa35
commit
e3853f4998
@ -115,9 +115,6 @@
|
|||||||
inputs.talon.overlays.default
|
inputs.talon.overlays.default
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set our configurationRevison based on the status of our git repo.
|
|
||||||
# If the repo is dirty, disable autoUpgrade as it means we are
|
|
||||||
# testing something.
|
|
||||||
buildSys = sys: sysBase: extraMods: name:
|
buildSys = sys: sysBase: extraMods: name:
|
||||||
sysBase.lib.nixosSystem {
|
sysBase.lib.nixosSystem {
|
||||||
system = sys;
|
system = sys;
|
||||||
|
@ -321,5 +321,6 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
system.autoUpgrade.allowReboot = false;
|
system.autoUpgrade.allowReboot = false;
|
||||||
|
system.autoUpgrade.enable = false;
|
||||||
system.stateVersion = "21.11";
|
system.stateVersion = "21.11";
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,9 @@ let
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Set our configurationRevison based on the status of our git repo.
|
||||||
|
# If the repo is dirty, disable autoUpgrade as it means we are
|
||||||
|
# testing something.
|
||||||
buildVer = self:
|
buildVer = self:
|
||||||
let state = self.rev or "DIRTY";
|
let state = self.rev or "DIRTY";
|
||||||
in {
|
in {
|
||||||
|
Loading…
Reference in New Issue
Block a user