common: specify stateVersion per machine

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-26 20:31:15 +02:00
parent cd4a003816
commit 6e4d125b63
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 4 additions and 5 deletions

View File

@ -445,6 +445,4 @@ in {
Defaults lecture = always Defaults lecture = always
Defaults lecture_file = ${sudoLecture} Defaults lecture_file = ${sudoLecture}
''; '';
system.stateVersion = "22.05";
} }

View File

@ -9,7 +9,8 @@
./services/stable-diffusion.nix ./services/stable-diffusion.nix
./services/tailscale.nix ./services/tailscale.nix
./services/keybase.nix ./services/keybase.nix
];
system.stateVersion = "22.05";
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"x86_64-windows" "x86_64-windows"

View File

@ -1,7 +1,5 @@
{ config, lib, secrets, modulesPath, ... }: { config, lib, secrets, modulesPath, ... }:
{ {
system.stateVersion = "22.05";
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -26,6 +24,8 @@
./services/scrapers/nhk-easy-news/default.nix ./services/scrapers/nhk-easy-news/default.nix
]; ];
system.stateVersion = "22.05";
machineVars = { machineVars = {
headless = true; headless = true;
dataDrives = { dataDrives = {