mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
secrets: moved syncthing secrets to secrets/syncthing
This commit is contained in:
parent
67d9fac5b8
commit
df8657bfa8
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.services.syncthing.enable {
|
config = lib.mkIf config.alyraffauf.services.syncthing.enable {
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
syncthingCert.file = ../../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
syncthingCert.file = ../../../secrets/syncthing + "/${config.networking.hostName}/cert.age";
|
||||||
syncthingKey.file = ../../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
syncthingKey.file = ../../../secrets/syncthing + "/${config.networking.hostName}/key.age";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
||||||
|
|
|
@ -12,20 +12,20 @@ let
|
||||||
(builtins.readFile ./publicKeys/root_rustboro.pub)
|
(builtins.readFile ./publicKeys/root_rustboro.pub)
|
||||||
];
|
];
|
||||||
in {
|
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/apiKey.age".publicKeys = keys;
|
||||||
"lastFM/secret.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;
|
"tailscale/authKeyFile.age".publicKeys = keys;
|
||||||
"wifi.age".publicKeys = keys;
|
"wifi.age".publicKeys = keys;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue