Regenerated
This commit is contained in:
+12
-7
@@ -1080,7 +1080,6 @@ let
|
||||
in
|
||||
{
|
||||
|
||||
|
||||
#################################
|
||||
# NixOS system user
|
||||
#################################
|
||||
@@ -1088,7 +1087,7 @@ in
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
|
||||
#################################
|
||||
@@ -1096,20 +1095,26 @@ in
|
||||
#################################
|
||||
_module.args.hmUsers = {
|
||||
${username} = {
|
||||
# Minimal required
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
# Add user-specific packages here
|
||||
home.packages = [
|
||||
# add packages here
|
||||
];
|
||||
|
||||
# Add user dotfiles, session variables, etc. here if needed
|
||||
home.file = {
|
||||
# Example:
|
||||
# ".bashrc" = { source = /path/to/bashrc; };
|
||||
# Ensure stylix directory exists with correct permissions
|
||||
".config/stylix/.keep" = {
|
||||
source = null; # just create the directory
|
||||
mode = "0755"; # rwx for owner, rx for group/others
|
||||
};
|
||||
};
|
||||
|
||||
# Activation to ensure the directory is writable before symlinks
|
||||
home.activation.fixStylixPermissions = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
chmod u+rwx $HOME/.config
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ let
|
||||
in
|
||||
{
|
||||
|
||||
|
||||
#################################
|
||||
# NixOS system user
|
||||
#################################
|
||||
@@ -13,7 +12,7 @@ in
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
|
||||
#################################
|
||||
@@ -21,20 +20,26 @@ in
|
||||
#################################
|
||||
_module.args.hmUsers = {
|
||||
${username} = {
|
||||
# Minimal required
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
# Add user-specific packages here
|
||||
home.packages = [
|
||||
# add packages here
|
||||
];
|
||||
|
||||
# Add user dotfiles, session variables, etc. here if needed
|
||||
home.file = {
|
||||
# Example:
|
||||
# ".bashrc" = { source = /path/to/bashrc; };
|
||||
# Ensure stylix directory exists with correct permissions
|
||||
".config/stylix/.keep" = {
|
||||
source = null; # just create the directory
|
||||
mode = "0755"; # rwx for owner, rx for group/others
|
||||
};
|
||||
};
|
||||
|
||||
# Activation to ensure the directory is writable before symlinks
|
||||
home.activation.fixStylixPermissions = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
chmod u+rwx $HOME/.config
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user