modules: users: use zsh as shell

This commit is contained in:
Bruno BELANYI 2021-02-19 18:48:35 +00:00
parent 01b6947cde
commit 71dcd216f0

View file

@ -1,5 +1,5 @@
# User setup # User setup
{ config, ... }: { config, pkgs, ... }:
let let
my = config.my; my = config.my;
in in
@ -12,6 +12,7 @@ in
hashedPassword = my.secrets.users.ambroisie.hashedPassword; hashedPassword = my.secrets.users.ambroisie.hashedPassword;
description = "Bruno BELANYI"; description = "Bruno BELANYI";
isNormalUser = true; isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
openssh.authorizedKeys.keys = with builtins; let openssh.authorizedKeys.keys = with builtins; let
keyDir = ./ssh; keyDir = ./ssh;