diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-08-01 19:33:23 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-08-01 19:33:23 +0000 |
commit | 61d0dc306cc7eadd14388c7a1a23f49feb62376c (patch) | |
tree | a1c106b9a9481dbf63dbc1b217010dfe7f2d1e2f | |
parent | cb4ff117d0ac03b7b84e7ed9e4568716b4ccab26 (diff) | |
download | spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar.gz spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar.bz2 spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar.lz spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar.xz spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.tar.zst spectrum-61d0dc306cc7eadd14388c7a1a23f49feb62376c.zip |
host/rootfs: set stateVersion for NixOS import
Not doing this generates a warning with recent Nixpkgs. Signed-off-by: Alyssa Ross <hi@alyssa.is>
-rw-r--r-- | host/rootfs/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/rootfs/default.nix b/host/rootfs/default.nix index 46b6659..b0fe4d7 100644 --- a/host/rootfs/default.nix +++ b/host/rootfs/default.nix @@ -77,6 +77,8 @@ let nixosAllHardware = nixos ({ modulesPath, ... }: { imports = [ (modulesPath + "/profiles/all-hardware.nix") ]; + + system.stateVersion = lib.trivial.release; }); kernel = pkgs.linux_latest; |