users/root: set shell to zsh

This commit is contained in:
Infinidoge 2024-05-09 01:05:21 -04:00
parent 1c9012190b
commit 3cd6d165fe
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA

View file

@ -1,5 +1,6 @@
{ lib, config, self, ... }: { { lib, config, pkgs, ... }: {
users.users.root = { users.users.root = {
shell = pkgs.zsh;
hashedPasswordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password; hashedPasswordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password;
openssh.authorizedKeys.keys = import ./ssh-keys.nix; openssh.authorizedKeys.keys = import ./ssh-keys.nix;
}; };