nix: refactor system.stateVersion

This commit is contained in:
Primrose 2024-12-13 22:58:54 +01:00
parent 32d661d54d
commit b528b1a966
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 21 additions and 16 deletions

View file

@ -5,6 +5,8 @@ let
in
{
home.stateVersion = "24.05";
home = {
username = "ychiang";
homeDirectory = "/udd/ychiang";
@ -12,7 +14,8 @@ in
home.packages = [ myPkgs.necrolib ];
home.file.".local/share/fonts/truetype".source = "${myPkgs.altiosevka-nerd-font-mono}/share/fonts/truetype";
home.file.".local/share/fonts/truetype".source =
"${myPkgs.altiosevka-nerd-font-mono}/share/fonts/truetype";
# it gets turned off so I need to run it more frequently
nix.gc.frequency = lib.mkForce "3 hours";

View file

@ -1,5 +1,8 @@
{ pkgs, ... }:
{
home.stateVersion = "24.05";
home = {
username = "ubuntu";
homeDirectory = "/home/ubuntu";