From d2a35f84d0065ee07427614ce1ab6731601d4c17 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 23 Feb 2022 10:43:04 +0100 Subject: [PATCH] remove the version file --- custom/default.nix | 1 + modules/common/default.nix | 3 +-- version.nix | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 version.nix diff --git a/custom/default.nix b/custom/default.nix index a80cc74..b7de3bc 100644 --- a/custom/default.nix +++ b/custom/default.nix @@ -1,4 +1,5 @@ { username = "andreas"; system = "x86_64-linux"; + version = "21.11"; } diff --git a/modules/common/default.nix b/modules/common/default.nix index c316751..0287426 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -120,7 +120,6 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = import "${inputs.self}/version.nix"; - + system.stateVersion = custom.version; } diff --git a/version.nix b/version.nix deleted file mode 100644 index b48b93e..0000000 --- a/version.nix +++ /dev/null @@ -1 +0,0 @@ -"21.11"