diff options
author | sils <sils@sils.li> | 2023-08-04 14:32:57 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-08-04 14:32:57 +0200 |
commit | 6e2578eae0de92e83a8136a956a452e77e786f67 (patch) | |
tree | 5a352009bd8b7f93e9f4ec18544f3e3e0bcd10d0 /system | |
parent | Build(flake): Update (diff) | |
download | nixos-server-6e2578eae0de92e83a8136a956a452e77e786f67.tar.gz nixos-server-6e2578eae0de92e83a8136a956a452e77e786f67.zip |
Feat(system/users): Add nixremote
This user is intended to be used for remote-builds
Diffstat (limited to '')
-rw-r--r-- | system/users/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/users/default.nix b/system/users/default.nix index 822c94b..7578126 100644 --- a/system/users/default.nix +++ b/system/users/default.nix @@ -48,6 +48,20 @@ openssh.authorizedKeys.keys = [ ]; }; + nixremote = { + name = "nixremote"; + isSystemUser = true; + createHome = true; + home = "/home/nixremote"; + uid = 1003; + group = "nixremote"; + openssh.authorizedKeys.keys = [ + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCbSWqFzb+WTq2JVoRGoTkCkP7AM3bNY91bsUBeoQQc8gKAWuqCrpAOmr2Q2QMaTTGEOM0CsWfWLs3ZYtynHmc7wIFc4T/sUloV+dB9oSCmOk5ePxtj8+gpPK35Ja+ug5zmXsaI4s+n9mEbuuEjn33MxDYCUzAI+aWvWe68u/j+FM3u9c3Ta009rotajjSZ/cmIltgNLsG1rnAZRpwmLVg5UL4cb9um54o/NLYFd2KAekQFVbwUQDzzqriZhWmzkfhnznBMDblf9R1xvZ18Lqv3JF21shdaR43NW1wtuntBvAdsVYK2VUEbj+3MxTkK0aQ/E9SHMtH8MRE4oxU74TeTWfIhuSZk9/wekzSNMkHP3ReFC6B9xCMYa+ZqaTaGSWLQi78AQDeM2F9rAfp3hQzyRa7T7qKlgbae/hEb07xZglqmG7eml9vPSt4AHv5Y176Q95NiiWduGoLQOmjvSBMU9/KEGrGKyLfGH1Wa2EOfPxKKcvcHW0Xi9PlPiuP0nYk= root@thinklappi" + ]; + }; + }; + groups.nixremote = { + gid = 1004; }; }; } |