Set zsh as defaultUserShell
This commit is contained in:
parent
4527187c94
commit
65798a62c6
38
flake.nix
38
flake.nix
|
@ -189,25 +189,25 @@
|
||||||
];
|
];
|
||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
};
|
};
|
||||||
users.defaultUserShell = pkgs.bash;
|
users = {
|
||||||
users.users = let
|
defaultUserShell = pkgs.${shell};
|
||||||
authorizedKeys.keys = [
|
users = let
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
|
authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDOcgeR3hh23aTiXnyC37xdP8oXfTZbbjgWzkUyxhT9P root@Vanguard"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANfkqd5lPTsSPU3SRYnAa1UjCYDmDeBTyzq5McmWlm6 xenia@Vanguard"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDOcgeR3hh23aTiXnyC37xdP8oXfTZbbjgWzkUyxhT9P root@Vanguard"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/ZSSCN5sqrA+tdoIZr5EUm5DRuBV4dQ7J+QBEtUwUU xenia@Northstar"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANfkqd5lPTsSPU3SRYnAa1UjCYDmDeBTyzq5McmWlm6 xenia@Vanguard"
|
||||||
];
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/ZSSCN5sqrA+tdoIZr5EUm5DRuBV4dQ7J+QBEtUwUU xenia@Northstar"
|
||||||
in {
|
];
|
||||||
root.openssh = {inherit authorizedKeys;};
|
in {
|
||||||
${user} = {
|
root.openssh = {inherit authorizedKeys;};
|
||||||
inherit group;
|
${user} = {
|
||||||
isNormalUser = true;
|
inherit group;
|
||||||
description = "Evie Litherland-Smith";
|
isNormalUser = true;
|
||||||
extraGroups = ["networkmanager" "wheel" "video" "input" "uinput"];
|
description = "Evie Litherland-Smith";
|
||||||
useDefaultShell = false;
|
extraGroups = ["networkmanager" "wheel" "video" "input" "uinput"];
|
||||||
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 = {
|
||||||
|
|
Loading…
Reference in a new issue