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