about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-20 21:39:14 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-20 21:39:14 +0100
commit37689a9bfa6b86e7fbe899d6efde9815c6abf2e4 (patch)
treead67798d167eb9c55cd2c3759cc635971fabe9bf /hosts/configuration.nix
parentHosts: Add 'open' alias (diff)
downloadnixos-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.nix5
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?
 }