nixos-config/sets/builder.nix

18 lines
495 B
Nix
Raw Normal View History

{ config, ... }:
{
2022-06-28 00:08:02 +00:00
nix.settings.trusted-users = [ "build" ];
users.users.build = {
2021-04-20 00:12:53 +00:00
isSystemUser = true;
home = "/home/build";
createHome = true;
useDefaultShell = true;
2021-09-18 17:09:49 +00:00
group = "build";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFOBdARV3DVx4fKTf1hCSmOz+S06pI28cvrdo+FbWDP/ root@rainbowdash"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIElCYORRBERl/as01Obp1Og/mdy28V7gw32uCZseOSZt root@spike"
];
};
2021-09-18 17:44:53 +00:00
users.groups.build = { };
}