[NixOS] Add home manager state version to all machines

This commit is contained in:
Ivan Malison 2023-08-20 04:34:42 -06:00
parent 21e491842c
commit ecfff93969
4 changed files with 20 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{
{ forEachUser, ... }: {
imports = [
../configuration.nix
../raspberry-pi.nix
@ -54,4 +54,8 @@
networking.hostName = "biskcomp";
system.stateVersion = "23.11";
home-manager.users = forEachUser {
home.stateVersion = "23.11";
};
}

View File

@ -1,4 +1,4 @@
{ lib, pkgs, config, inputs, ... }:
{ lib, pkgs, config, inputs, forEachUser, ... }:
{
imports = [
../configuration.nix
@ -8,4 +8,8 @@
wsl.defaultUser = "kat";
system.stateVersion = "22.05";
home-manager.users = forEachUser {
home.stateVersion = "22.05";
};
}

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, forEachUser, ... }:
{
imports = [
@ -51,4 +51,8 @@
services.tlp.enable = true;
system.stateVersion = "23.05";
home-manager.users = forEachUser {
home.stateVersion = "23.05";
};
}

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, inputs, forEachUser, ... }:
{
imports = [
../configuration.nix
@ -53,5 +53,9 @@
services.xrdp.defaultWindowManager = "startplasma-x11";
services.xrdp.openFirewall = true;
home-manager.users = forEachUser {
home.stateVersion = "23.11";
};
system.stateVersion = "23.11";
}