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