europa: disable autoupdate, move DIRTY comment to proper location

This commit is contained in:
Aaron Bieber 2023-04-19 07:17:08 -06:00
parent 131ec0aa35
commit e3853f4998
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -115,9 +115,6 @@
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:
sysBase.lib.nixosSystem {
system = sys;

View File

@ -321,5 +321,6 @@ in {
];
system.autoUpgrade.allowReboot = false;
system.autoUpgrade.enable = false;
system.stateVersion = "21.11";
}

View File

@ -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:
let state = self.rev or "DIRTY";
in {