From e3853f499898544e6fdccd473676858077002469 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 19 Apr 2023 07:17:08 -0600 Subject: [PATCH] europa: disable autoupdate, move DIRTY comment to proper location --- flake.nix | 3 --- hosts/europa/default.nix | 1 + lib/default.nix | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d027649..da4a41b 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/hosts/europa/default.nix b/hosts/europa/default.nix index 531d16c..acdc257 100644 --- a/hosts/europa/default.nix +++ b/hosts/europa/default.nix @@ -321,5 +321,6 @@ in { ]; system.autoUpgrade.allowReboot = false; + system.autoUpgrade.enable = false; system.stateVersion = "21.11"; } diff --git a/lib/default.nix b/lib/default.nix index 733ad97..bbc141b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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 {