zsh: enable, set for qenya, add config

This commit is contained in:
Katherina Walshe-Grey 2024-07-26 19:37:31 +01:00
parent 42ce170014
commit 3bed356294
8 changed files with 46 additions and 0 deletions

View file

@ -5,5 +5,6 @@
./nginx.nix
./openssh.nix
./security.nix
./zsh.nix
];
}

View file

@ -11,6 +11,7 @@ in
"networkmanager" # UI wifi configuration
"dialout" # access to serial ports
];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = keys.users.qenya;
uid = 1001;
};

9
common/zsh.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, pkgs,... }:
{
programs.zsh.enable = true;
environment = {
shells = with pkgs; [ zsh ];
pathsToLink = [ "/share/zsh" ];
};
}