Skip to content

Commit

Permalink
srid: use zsh everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 26, 2024
1 parent 34ab0b4 commit 2996dd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion configurations/nixos/vixen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions modules/nixos/shared/primary-as-admin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2996dd6

Please sign in to comment.