Followed NixOS wiki to set ZSH as default shell

This commit is contained in:
Giulio De Pasquale 2023-02-19 06:08:51 +01:00
parent 6d974d7d96
commit b82e97466a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -16,7 +16,6 @@
users.users.${name} = {
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" "plugdev" ];
};