Regenerated
This commit is contained in:
+11
-6
@@ -1080,7 +1080,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# NixOS system user
|
# NixOS system user
|
||||||
#################################
|
#################################
|
||||||
@@ -1096,21 +1095,27 @@ in
|
|||||||
#################################
|
#################################
|
||||||
_module.args.hmUsers = {
|
_module.args.hmUsers = {
|
||||||
${username} = {
|
${username} = {
|
||||||
# Minimal required
|
|
||||||
home.username = username;
|
home.username = username;
|
||||||
home.homeDirectory = "/home/${username}";
|
home.homeDirectory = "/home/${username}";
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
|
|
||||||
# Add user-specific packages here
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
# add packages here
|
||||||
];
|
];
|
||||||
|
|
||||||
# Add user dotfiles, session variables, etc. here if needed
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# Example:
|
# Ensure stylix directory exists with correct permissions
|
||||||
# ".bashrc" = { source = /path/to/bashrc; };
|
".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
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# NixOS system user
|
# NixOS system user
|
||||||
#################################
|
#################################
|
||||||
@@ -21,20 +20,26 @@ in
|
|||||||
#################################
|
#################################
|
||||||
_module.args.hmUsers = {
|
_module.args.hmUsers = {
|
||||||
${username} = {
|
${username} = {
|
||||||
# Minimal required
|
|
||||||
home.username = username;
|
home.username = username;
|
||||||
home.homeDirectory = "/home/${username}";
|
home.homeDirectory = "/home/${username}";
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
|
|
||||||
# Add user-specific packages here
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
# add packages here
|
||||||
];
|
];
|
||||||
|
|
||||||
# Add user dotfiles, session variables, etc. here if needed
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# Example:
|
# Ensure stylix directory exists with correct permissions
|
||||||
# ".bashrc" = { source = /path/to/bashrc; };
|
".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