sombrero: Add secrets for syncthing

This commit is contained in:
Alexander Heldt
2023-10-27 20:41:25 +02:00
parent b75dffadde
commit 4c9d337aa3
4 changed files with 12 additions and 2 deletions

View File

@@ -27,8 +27,8 @@ in
dataDir = "/home/alex/backup/sync";
cert = "/home/alex/backup/sync/hosts/sombrero/syncthing/cert.pem";
key = "/home/alex/backup/sync/hosts/sombrero/syncthing/key.pem";
cert = config.age.secrets.syncthing-cert.path;
key = config.age.secrets.syncthing-key.path;
guiAddress = "0.0.0.0:8384";
@@ -144,5 +144,12 @@ in
};
};
};
age = {
secrets = {
"syncthing-cert".file = ../../../../secrets/sombrero/syncthing-cert.age;
"syncthing-key".file = ../../../../secrets/sombrero/syncthing-key.age;
};
};
};
}

View File

@@ -15,4 +15,7 @@ in {
"pinwheel/netrc.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-ovpn.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-ovpn-userpass.age".publicKeys = [ pinwheel alex ];
"sombrero/syncthing-cert.age".publicKeys = [ sombrero alex ];
"sombrero/syncthing-key.age".publicKeys = [ sombrero alex ];
}

Binary file not shown.

Binary file not shown.