Users: remove error when trying to run repo as root
This commit is contained in:
parent
c8b56f709e
commit
3a7a4a1b2d
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue