diff --git a/hosts/nixda/configuration.nix b/hosts/nixda/configuration.nix index 28334e0..9fea0f4 100644 --- a/hosts/nixda/configuration.nix +++ b/hosts/nixda/configuration.nix @@ -54,6 +54,7 @@ isNormalUser = true; password = "hacchacc"; extraGroups = [ "audio" "video" ]; + openssh.authorizedKeys.keys = with pkgs.lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users); }; services.pipewire.enable = true;