diff --git a/hosts/mpl/configuration.nix b/hosts/mpl/configuration.nix index 7b27eea..6c5cf2e 100644 --- a/hosts/mpl/configuration.nix +++ b/hosts/mpl/configuration.nix @@ -1,6 +1,6 @@ { inputs, - config, + config, pkgs, ... }: { imports = [ @@ -33,13 +33,17 @@ services.libinput.enable = true; # Define a user account. - users.users = { - root.hashedPasswordFile = config.sops.secrets."root-pw".path; + users = { + defaultUserShell = pkgs.zsh; - min = { - isNormalUser = true; - extraGroups = ["wheel"]; # Enable ‘sudo’ for the user. - hashedPasswordFile = config.sops.secrets."user-pw".path; + users = { + root.hashedPasswordFile = config.sops.secrets."root-pw".path; + + min = { + isNormalUser = true; + extraGroups = ["wheel"]; # Enable ‘sudo’ for the user. + hashedPasswordFile = config.sops.secrets."user-pw".path; + }; }; };