diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-20 21:39:14 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-20 21:39:14 +0100 |
commit | 37689a9bfa6b86e7fbe899d6efde9815c6abf2e4 (patch) | |
tree | ad67798d167eb9c55cd2c3759cc635971fabe9bf /hosts/configuration.nix | |
parent | Hosts: Add 'open' alias (diff) | |
download | nixos-config-37689a9bfa6b86e7fbe899d6efde9815c6abf2e4.tar.gz nixos-config-37689a9bfa6b86e7fbe899d6efde9815c6abf2e4.tar.bz2 nixos-config-37689a9bfa6b86e7fbe899d6efde9815c6abf2e4.zip |
Flake: Set stateVersion in the hardware set
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r-- | hosts/configuration.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 5dfbbbc..e73f22d 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -1,4 +1,5 @@ -{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, system, ... }: { +{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, system, stateVersion, ... }: +{ imports = [ "${inputs.impermanence}/nixos.nix" @@ -224,6 +225,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 = "22.05"; # Did you read the comment? + system.stateVersion = stateVersion; # Did you read the comment? } |