Regenerated
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
username = "henrov";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
# NixOS system user
|
||||
#################################
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
|
||||
extraGroups = [ "wheel" "networkmanager" "bluetooth" "input" ];
|
||||
ignoreShellProgramCheck = true; # <-- avoids the assertion
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
#################################
|
||||
# Home Manager user definition
|
||||
#################################
|
||||
home-manager.users = {
|
||||
${username} = {
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
home.packages = [
|
||||
# add packages here
|
||||
];
|
||||
|
||||
# Activation to ensure the directory is writable
|
||||
home.activation.fixStylixPermissions = ''
|
||||
mkdir -p $HOME/.config
|
||||
chmod -R u+rwx $HOME/.config
|
||||
'';
|
||||
|
||||
# Locale and timezone settings
|
||||
home.sessionVariables = {
|
||||
LANG = "nl_NL.UTF-8";
|
||||
LC_ALL = "nl_NL.UTF-8";
|
||||
TZ = "Europe/Amsterdam";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user