Set zsh as defaultUserShell

This commit is contained in:
Evie Litherland-Smith 2024-02-11 07:16:08 +00:00
parent 4527187c94
commit 65798a62c6

View file

@ -189,8 +189,9 @@
]; ];
fontconfig.enable = true; fontconfig.enable = true;
}; };
users.defaultUserShell = pkgs.bash; users = {
users.users = let defaultUserShell = pkgs.${shell};
users = let
authorizedKeys.keys = [ authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDOcgeR3hh23aTiXnyC37xdP8oXfTZbbjgWzkUyxhT9P root@Vanguard" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDOcgeR3hh23aTiXnyC37xdP8oXfTZbbjgWzkUyxhT9P root@Vanguard"
@ -204,12 +205,11 @@
isNormalUser = true; isNormalUser = true;
description = "Evie Litherland-Smith"; description = "Evie Litherland-Smith";
extraGroups = ["networkmanager" "wheel" "video" "input" "uinput"]; extraGroups = ["networkmanager" "wheel" "video" "input" "uinput"];
useDefaultShell = false;
shell = pkgs.${shell};
initialHashedPassword = "$y$j9T$tHIPQt09Kf3KH2eIRze3g/$2mwSlcq27DTGvHNPJ5EP9/1CfL3bXP0F6oS/Vuffmn3"; initialHashedPassword = "$y$j9T$tHIPQt09Kf3KH2eIRze3g/$2mwSlcq27DTGvHNPJ5EP9/1CfL3bXP0F6oS/Vuffmn3";
openssh = {inherit authorizedKeys;}; openssh = {inherit authorizedKeys;};
}; };
}; };
};
home-manager = { home-manager = {
extraSpecialArgs = {inherit hostName;}; extraSpecialArgs = {inherit hostName;};
useGlobalPkgs = true; useGlobalPkgs = true;