1
0
Fork 0
nix-configuration/modules/users/root/default.nix

17 lines
307 B
Nix
Raw Normal View History

2024-05-16 20:08:57 -04:00
{
config,
home-manager,
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;
};
};
}