user accept xps ssh
+ refactor
This commit is contained in:
@@ -1,36 +1,37 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
{
|
||||
users.defaultUserShell = pkgs.bash; # if interactive, itll switch to fish
|
||||
|
||||
users.users."${hyper.user}" = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
# TODO: actually put the groups into the relevant files
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"audio"
|
||||
"video"
|
||||
"lp"
|
||||
"scanner"
|
||||
"docker"
|
||||
"libvirtd"
|
||||
"uinput"
|
||||
"input"
|
||||
"ydotool"
|
||||
"acme"
|
||||
"nginx"
|
||||
"adbusers"
|
||||
"postgres"
|
||||
"radicale"
|
||||
"audiobookshelf"
|
||||
"nextcloud"
|
||||
];
|
||||
useDefaultShell = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1RPCcS8DtIf75a2FEW4d8X6WTVeLlmretoLqppvZlJ" # From [A] GPG Sub Key
|
||||
];
|
||||
{ pkgs, ... }@all: with all; {
|
||||
users = {
|
||||
defaultUserShell = pkgs.bash; # if interactive, itll switch to fish
|
||||
users."${hyper.user}" = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
# TODO: actually put the groups into the relevant files
|
||||
"acme"
|
||||
"adbusers"
|
||||
"audio"
|
||||
"audiobookshelf"
|
||||
"copyparty"
|
||||
"docker"
|
||||
"input"
|
||||
"libvirtd"
|
||||
"lp"
|
||||
"networkmanager"
|
||||
"nextcloud"
|
||||
"nginx"
|
||||
"postgres"
|
||||
"radicale"
|
||||
"scanner"
|
||||
"uinput"
|
||||
"video"
|
||||
"wheel"
|
||||
"ydotool"
|
||||
];
|
||||
useDefaultShell = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1RPCcS8DtIf75a2FEW4d8X6WTVeLlmretoLqppvZlJ" # From [A] GPG Sub Key
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE5sYVtPLHXatTjrpol46xr9R4TidcB4t8axO6/ReNNR nx2@ssh.nx2.site" # NxXPS
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
interactiveShellInit = ''
|
||||
|
||||
Reference in New Issue
Block a user