diff --git a/sets/builder.nix b/sets/builder.nix new file mode 100644 index 0000000..4393e37 --- /dev/null +++ b/sets/builder.nix @@ -0,0 +1,14 @@ +{ config, ... }: + +{ + nix.trustedUsers = [ "build" ]; + users.users.build = { + isNormalUser = false; + home = "/home/build"; + createHome = true; + useDefaultShell = true; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFOBdARV3DVx4fKTf1hCSmOz+S06pI28cvrdo+FbWDP/ root@rainbowdash" + ]; + }; +} diff --git a/system/starlight/default.nix b/system/starlight/default.nix index 863969c..7224540 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -5,6 +5,7 @@ ./boot-config.nix ./hardware-configuration.nix ../../private/starlight.nix + ../../sets/builder.nix ../../sets/cpu/amd.nix ../../sets/fpga.nix ../../sets/gpu/amd.nix