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 d41a820233

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 {
programs = {
ssh = lib.mkIf config.nix.distributedBuilds {
enable = true;
matchBlocks = config.secrets.users.root.sshConfig;
};
git.extraConfig = {
safe.directory = "/home/aires/Development/nix-configuration/.git";
};
};
};
}