diff options
Diffstat (limited to 'config/users.nix')
| -rw-r--r-- | config/users.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/users.nix b/config/users.nix index 8dedba0..8d8715c 100644 --- a/config/users.nix +++ b/config/users.nix @@ -1,3 +1,13 @@ -{...}: { +{pkgs, ...}: { personal.user.enable = true; + users = { + users."nixremote" = { + isSystemUser = true; + shell = pkgs.busybox-sandbox-shell; + group = "nixremote"; + openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEgohiYF2Dsaq6ImGaslnKJMwpiVtwAaM9cm1tpSRr7t root@kerberos"]; + }; + groups.nixremote = {}; + }; + nix.settings.trusted-users = ["nixremote"]; } |
