add a version file

This commit is contained in:
Andreas Zweili 2021-11-23 23:09:40 +01:00
parent 6c6fb3db4b
commit 4bbb6d0e20
3 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@
# 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 = "21.05"; # Did you read the comment?
system.stateVersion = import ../version.nix;
}

View File

@ -14,7 +14,7 @@
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
home.stateVersion = import ../version.nix;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

1
version.nix Normal file
View File

@ -0,0 +1 @@
"21.05"