mirror of
https://github.com/srid/nixos-config.git
synced 2026-04-09 20:45:51 +08:00
srid: use zsh everywhere
This commit is contained in:
parent
34ab0b4633
commit
2996dd6553
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue