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

17 lines
307 B
Nix
Raw Normal View History

2024-05-17 00:08:57 +00: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;
};
};
}