secrets: moved syncthing secrets to secrets/syncthing

This commit is contained in:
Aly Raffauf 2024-06-10 22:33:26 -04:00
parent 67d9fac5b8
commit df8657bfa8
12 changed files with 14 additions and 14 deletions

View file

@ -29,8 +29,8 @@
config = lib.mkIf config.alyraffauf.services.syncthing.enable {
age.secrets = {
syncthingCert.file = ../../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
syncthingKey.file = ../../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
syncthingCert.file = ../../../secrets/syncthing + "/${config.networking.hostName}/cert.age";
syncthingKey.file = ../../../secrets/syncthing + "/${config.networking.hostName}/key.age";
};
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";

View file

@ -12,20 +12,20 @@ let
(builtins.readFile ./publicKeys/root_rustboro.pub)
];
in {
"hosts/fallarbor/syncthing/cert.age".publicKeys = keys;
"hosts/fallarbor/syncthing/key.age".publicKeys = keys;
"hosts/lavaridge/syncthing/cert.age".publicKeys = keys;
"hosts/lavaridge/syncthing/key.age".publicKeys = keys;
"hosts/mauville/syncthing/cert.age".publicKeys = keys;
"hosts/mauville/syncthing/key.age".publicKeys = keys;
"hosts/petalburg/syncthing/cert.age".publicKeys = keys;
"hosts/petalburg/syncthing/key.age".publicKeys = keys;
"hosts/rustboro/syncthing/cert.age".publicKeys = keys;
"hosts/rustboro/syncthing/key.age".publicKeys = keys;
"spotify/clientId.age".publicKeys = keys;
"spotify/clientSecret.age".publicKeys = keys;
"lastFM/apiKey.age".publicKeys = keys;
"lastFM/secret.age".publicKeys = keys;
"spotify/clientId.age".publicKeys = keys;
"spotify/clientSecret.age".publicKeys = keys;
"syncthing/fallarbor/cert.age".publicKeys = keys;
"syncthing/fallarbor/key.age".publicKeys = keys;
"syncthing/lavaridge/cert.age".publicKeys = keys;
"syncthing/lavaridge/key.age".publicKeys = keys;
"syncthing/mauville/cert.age".publicKeys = keys;
"syncthing/mauville/key.age".publicKeys = keys;
"syncthing/petalburg/cert.age".publicKeys = keys;
"syncthing/petalburg/key.age".publicKeys = keys;
"syncthing/rustboro/cert.age".publicKeys = keys;
"syncthing/rustboro/key.age".publicKeys = keys;
"tailscale/authKeyFile.age".publicKeys = keys;
"wifi.age".publicKeys = keys;
}