home: move `home.stateVersion` to machine specific config

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-30 15:18:22 +02:00
parent 9db1b7f2e3
commit 83afd674a7
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
4 changed files with 4 additions and 3 deletions

View File

@ -68,7 +68,6 @@ in {
}; };
home = { home = {
stateVersion = "22.05";
username = "h7x4"; username = "h7x4";
homeDirectory = "/home/h7x4"; homeDirectory = "/home/h7x4";

View File

@ -1,4 +1,4 @@
{ ... }: { ... }:
{ {
home.stateVersion = "22.05";
} }

View File

@ -1,5 +1,7 @@
{ config, ... }: { config, ... }:
{ {
home.stateVersion = "22.05";
programs.git.extraConfig.maintenance.repo = let programs.git.extraConfig.maintenance.repo = let
home = config.home.homeDirectory; home = config.home.homeDirectory;
in [ in [

View File

@ -1,4 +1,4 @@
{ ... }: { ... }:
{ {
home.stateVersion = "22.05";
} }