Allow rainbowdash to build on starlight

This commit is contained in:
Artemis Tosini 2020-12-18 05:36:57 +00:00
parent 218158f34f
commit 26080c39fe
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 15 additions and 0 deletions

14
sets/builder.nix Normal file
View file

@ -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"
];
};
}

View file

@ -5,6 +5,7 @@
./boot-config.nix ./boot-config.nix
./hardware-configuration.nix ./hardware-configuration.nix
../../private/starlight.nix ../../private/starlight.nix
../../sets/builder.nix
../../sets/cpu/amd.nix ../../sets/cpu/amd.nix
../../sets/fpga.nix ../../sets/fpga.nix
../../sets/gpu/amd.nix ../../sets/gpu/amd.nix