From 6e4d125b636b4ca6dccbb3d9e41fa55e30bcd207 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 26 Jun 2024 20:31:15 +0200 Subject: [PATCH] common: specify stateVersion per machine --- hosts/common.nix | 2 -- hosts/kasei/configuration.nix | 3 ++- hosts/tsuki/configuration.nix | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/common.nix b/hosts/common.nix index 4a82213..3df6d07 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -445,6 +445,4 @@ in { Defaults lecture = always Defaults lecture_file = ${sudoLecture} ''; - - system.stateVersion = "22.05"; } diff --git a/hosts/kasei/configuration.nix b/hosts/kasei/configuration.nix index 5589431..9c060dd 100644 --- a/hosts/kasei/configuration.nix +++ b/hosts/kasei/configuration.nix @@ -9,7 +9,8 @@ ./services/stable-diffusion.nix ./services/tailscale.nix ./services/keybase.nix - ]; + + system.stateVersion = "22.05"; boot.binfmt.emulatedSystems = [ "x86_64-windows" diff --git a/hosts/tsuki/configuration.nix b/hosts/tsuki/configuration.nix index 2f9722c..2d88392 100644 --- a/hosts/tsuki/configuration.nix +++ b/hosts/tsuki/configuration.nix @@ -1,7 +1,5 @@ { config, lib, secrets, modulesPath, ... }: { - system.stateVersion = "22.05"; - imports = [ ./hardware-configuration.nix @@ -26,6 +24,8 @@ ./services/scrapers/nhk-easy-news/default.nix ]; + system.stateVersion = "22.05"; + machineVars = { headless = true; dataDrives = {