tv: switch users to zsh

This commit is contained in:
Aaron Bieber 2024-06-13 21:16:59 -06:00
parent bd0ec0f166
commit 9a6342a4d0
No known key found for this signature in database

View File

@ -20,6 +20,7 @@ in
_module.args.isUnstable = true; _module.args.isUnstable = true;
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../configs/zsh.nix
]; ];
needsDeploy.enable = false; needsDeploy.enable = false;
@ -51,6 +52,8 @@ in
pipewire.enable = true; pipewire.enable = true;
programs.zsh.enable = true;
services = { services = {
avahi.enable = true; avahi.enable = true;
openssh.settings.X11Forwarding = true; openssh.settings.X11Forwarding = true;
@ -77,9 +80,13 @@ in
users = { users = {
users = { users = {
root = { openssh.authorizedKeys.keys = pubKeys; }; root = {
openssh.authorizedKeys.keys = pubKeys;
shell = pkgs.zsh;
};
tv = { tv = {
openssh.authorizedKeys.keys = pubKeys; openssh.authorizedKeys.keys = pubKeys;
shell = pkgs.zsh;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "dialout" "plugdev" ]; extraGroups = [ "dialout" "plugdev" ];
}; };