borgstor and deployerbot: fix perms

This commit is contained in:
Motiejus Jakštys 2024-07-31 09:15:46 +03:00
parent 46cce2c3ef
commit e70cb36e87
5 changed files with 9 additions and 23 deletions

View File

@ -85,10 +85,7 @@ in
deployerbot = { deployerbot = {
follower = { follower = {
publicKeys = [ publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
enable = true; enable = true;
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ]; sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];

View File

@ -167,10 +167,7 @@ in
}; };
follower = { follower = {
publicKeys = [ publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
enable = true; enable = true;
uidgid = myData.uidgid.updaterbot-deployee; uidgid = myData.uidgid.updaterbot-deployee;

View File

@ -122,10 +122,7 @@ in
deployerbot = { deployerbot = {
follower = { follower = {
publicKeys = [ publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
enable = true; enable = true;
uidgid = myData.uidgid.updaterbot-deployee; uidgid = myData.uidgid.updaterbot-deployee;

View File

@ -193,10 +193,7 @@
deployerbot = { deployerbot = {
follower = { follower = {
publicKeys = [ publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
enable = true; enable = true;
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ]; sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];

View File

@ -83,9 +83,10 @@
borgstor = { borgstor = {
enable = true; enable = true;
dataDir = "/data/borg"; dataDir = "/data/borg";
sshKeys = [ sshKeys = with myData; [
myData.hosts."vno1-oh2.servers.jakst".publicKey hosts."vno1-oh2.servers.jakst".publicKey
myData.people_pubkeys.motiejus hosts."fwminex.servers.jakst".publicKey
people_pubkeys.motiejus
]; ];
}; };
@ -96,10 +97,7 @@
deployerbot = { deployerbot = {
follower = { follower = {
publicKeys = [ publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
enable = true; enable = true;
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ]; sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];