1
0
Fork 0

Users: remove error when trying to run repo as root

This commit is contained in:
Aires 2024-10-02 10:45:56 -04:00
parent c8b56f709e
commit 3a7a4a1b2d

View file

@ -3,9 +3,14 @@
# 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;
programs = {
ssh = lib.mkIf config.nix.distributedBuilds {
enable = true;
matchBlocks = config.secrets.users.root.sshConfig;
};
git.extraConfig = {
safe.directory = "${config.secrets.nixConfigFolder}/.git";
};
};
};
}