My flake implies the use of multiple versions of NixOS, so we move the state version to each system individualy.

This commit is contained in:
Jimbo 2024-09-03 14:15:33 -04:00
parent 036e31cb01
commit aeaa9e53c0
9 changed files with 21 additions and 6 deletions

View file

@ -44,7 +44,4 @@
usbutils usbutils
protonvpn-cli_2 protonvpn-cli_2
]; ];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
} }

View file

@ -54,4 +54,7 @@
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs"; source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
}; };
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.11";
} }

View file

@ -48,4 +48,7 @@
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'"; nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
}; };
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
} }

View file

@ -16,4 +16,7 @@
nixdate = "sysdate; homedate"; nixdate = "sysdate; homedate";
}; };
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
} }

View file

@ -13,4 +13,7 @@
homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'"; homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
}; };
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
} }

View file

@ -76,7 +76,4 @@
# Force Electron to use Wayland # Force Electron to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
} }

View file

@ -36,4 +36,7 @@
]; ];
networking.hostName = "JimDeck"; networking.hostName = "JimDeck";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.11";
} }

View file

@ -39,4 +39,7 @@
]; ];
networking.hostName = "JimDesktop"; networking.hostName = "JimDesktop";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
} }

View file

@ -45,4 +45,7 @@
services.openssh.ports = [ 2222 ]; services.openssh.ports = [ 2222 ];
networking.hostName = "JimServer"; networking.hostName = "JimServer";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
} }