Regenerated
This commit is contained in:
+14
-13
@@ -270,20 +270,7 @@ in
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
#################################
|
||||
# Essential system packages
|
||||
#################################
|
||||
environment.systemPackages = with pkgs; [
|
||||
bash # ensures /run/current-system/sw/bin/bash exists
|
||||
coreutils # provides basic commands like rm, ls, mkdir
|
||||
zsh
|
||||
git
|
||||
nano
|
||||
bat
|
||||
];
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
|
||||
@@ -1040,6 +1027,20 @@ let
|
||||
username = "henrov";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
# Ensure system user has a valid shell
|
||||
#################################
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/"; # keep your existing hash
|
||||
shell = pkgs.bash; # ensures login shell exists in this generation
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
};
|
||||
|
||||
#################################
|
||||
# NixOS system user
|
||||
#################################
|
||||
|
||||
Reference in New Issue
Block a user