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 = {
follower = {
publicKeys = [
myData.hosts."vno1-oh2.servers.jakst".publicKey
myData.hosts."fwminex.motiejus.jakst".publicKey
];
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
enable = true;
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];

View File

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

View File

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

View File

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

View File

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