srid: use zsh everywhere

This commit is contained in:
Sridhar Ratnakumar 2024-10-26 09:28:28 -04:00
parent 34ab0b4633
commit 2996dd6553
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,6 @@ in
services.fprintd.enable = true;
programs.nix-ld.enable = true; # for vscode server
programs.zsh.enable = true;
# Workaround the annoying `Failed to start Network Manager Wait Online` error on switch.
# https://github.com/NixOS/nixpkgs/issues/180175

View file

@ -12,12 +12,15 @@
root.openssh.authorizedKeys.keys = myKeys;
${me.username} = {
openssh.authorizedKeys.keys = myKeys;
shell = pkgs.zsh;
} // lib.optionalAttrs pkgs.stdenv.isLinux {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ];
};
};
programs.zsh.enable = lib.mkIf pkgs.stdenv.isLinux true;
# Make me a sudoer without password
security = lib.optionalAttrs pkgs.stdenv.isLinux {
sudo.execWheelOnly = true;