extract nixremote user creation to nix-remote-builder role
1 file changed, 1 insertion(+), 12 deletions(-)
changed files
M system/hosts/smrk.nix → system/hosts/smrk.nix
@@ -12,6 +12,7 @@ ../roles/server.nix ../roles/ci.nix ../roles/reverse-proxy.nix ../roles/forgejo-runner.nix + ../roles/nix-remote-builder.nix ]; system.stateVersion = "25.11";@@ -31,17 +32,5 @@ nix = { settings = { max-jobs = 4; }; - }; - - users.users.nixremote = { - shell = "/bin/sh"; - isNormalUser = true; - home = "/var/lib/nixremote/"; - createHome = true; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKGzXGgFm/4Da2KNl1wb7TC2YOu/baP/2eFVBaJY0Wq root@marvin" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIy9jFioBvV0JA0lc+De2N+vDOABGHgCECW6vkD33CE4 sourcehut" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIII7sWEwsm8JZiJ0LUnjSt0Kg1RXypG6p5AzP/R2n5ca actions@github.com" - ]; }; }