18 lines
485 B
Nix
18 lines
485 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
nix.trustedUsers = [ "build" ];
|
|
users.users.build = {
|
|
isSystemUser = true;
|
|
home = "/home/build";
|
|
createHome = true;
|
|
useDefaultShell = true;
|
|
group = "build";
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFOBdARV3DVx4fKTf1hCSmOz+S06pI28cvrdo+FbWDP/ root@rainbowdash"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIElCYORRBERl/as01Obp1Og/mdy28V7gw32uCZseOSZt root@spike"
|
|
];
|
|
};
|
|
users.groups.build = { };
|
|
}
|