Regenerated
This commit is contained in:
+300
-294
File diff suppressed because it is too large
Load Diff
+16
-10
@@ -3367,7 +3367,6 @@ let
|
|||||||
username = "henrov";
|
username = "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# NixOS system user
|
# NixOS system user
|
||||||
#################################
|
#################################
|
||||||
@@ -3375,7 +3374,7 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${username}";
|
home = "/home/${username}";
|
||||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
||||||
extraGroups = [ "wheel" "networkmanager" "bluetooth"];
|
extraGroups = [ "wheel" "networkmanager" "bluetooth" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -3391,18 +3390,25 @@ in
|
|||||||
# add packages here
|
# 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
|
# Locale and timezone settings for the user
|
||||||
home.activation.fixStylixPermissions = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.sessionVariables = {
|
||||||
mkdir -p $HOME/.config
|
LANG = "nl_NL.UTF-8";
|
||||||
chmod -R u+rwx $HOME/.config
|
LC_ALL = "nl_NL.UTF-8";
|
||||||
'';
|
TZ = "Europe/Amsterdam";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ let
|
|||||||
username = "henrov";
|
username = "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# NixOS system user
|
# NixOS system user
|
||||||
#################################
|
#################################
|
||||||
@@ -12,7 +11,7 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${username}";
|
home = "/home/${username}";
|
||||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
||||||
extraGroups = [ "wheel" "networkmanager" "bluetooth"];
|
extraGroups = [ "wheel" "networkmanager" "bluetooth" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -28,14 +27,22 @@ in
|
|||||||
# add packages here
|
# 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
|
# Locale and timezone settings for the user
|
||||||
home.activation.fixStylixPermissions = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.sessionVariables = {
|
||||||
mkdir -p $HOME/.config
|
LANG = "nl_NL.UTF-8";
|
||||||
chmod -R u+rwx $HOME/.config
|
LC_ALL = "nl_NL.UTF-8";
|
||||||
'';
|
TZ = "Europe/Amsterdam";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user