12 lines
285 B
Nix
12 lines
285 B
Nix
{ config, lib, ... }:
|
|
{
|
|
# Give root user access to run remote builds
|
|
home-manager.users.root = {
|
|
home.stateVersion = "24.05";
|
|
programs.ssh = lib.mkIf config.nix.distributedBuilds {
|
|
enable = true;
|
|
matchBlocks = config.secrets.users.root.sshConfig;
|
|
};
|
|
};
|
|
}
|