Followed NixOS wiki to set ZSH as default shell
This commit is contained in:
parent
6d974d7d96
commit
b82e97466a
@ -46,8 +46,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
users.users.root = { shell = pkgs.zsh; };
|
||||
|
||||
home-manager = {
|
||||
users.root.imports = pkgs.lib.singleton (mkHomeRole "common");
|
||||
extraSpecialArgs.unstablePkgs = unstablePkgs;
|
||||
@ -55,6 +53,9 @@
|
||||
};
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
environment.shells = [ pkgs.zsh ];
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
}
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
users.users.${name} = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "plugdev" ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user