Regenerated

This commit is contained in:
2026-03-31 17:43:31 +00:00
parent 01fc061c48
commit fe5d872ed5
3 changed files with 332 additions and 313 deletions
+16 -9
View File
@@ -4,7 +4,6 @@ let
username = "henrov";
in
{
#################################
# NixOS system user
#################################
@@ -12,7 +11,7 @@ in
isNormalUser = true;
home = "/home/${username}";
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
extraGroups = [ "wheel" "networkmanager" "bluetooth"];
extraGroups = [ "wheel" "networkmanager" "bluetooth" ];
};
#################################
@@ -28,14 +27,22 @@ in
# add packages here
];
home.file = {
# Ensure .config directory is writable
home.activation = {
fixStylixPermissions = {
text = ''
mkdir -p $HOME/.config
chmod -R u+rwx $HOME/.config
'';
};
};
# Activation to ensure the directory is writable before symlinks
home.activation.fixStylixPermissions = lib.hm.dag.entryAfter ["writeBoundary"] ''
mkdir -p $HOME/.config
chmod -R u+rwx $HOME/.config
'';
# Locale and timezone settings for the user
home.sessionVariables = {
LANG = "nl_NL.UTF-8";
LC_ALL = "nl_NL.UTF-8";
TZ = "Europe/Amsterdam";
};
};
};
};
}