sombrero: Add secrets for syncthing
This commit is contained in:
@@ -27,8 +27,8 @@ in
|
|||||||
|
|
||||||
dataDir = "/home/alex/backup/sync";
|
dataDir = "/home/alex/backup/sync";
|
||||||
|
|
||||||
cert = "/home/alex/backup/sync/hosts/sombrero/syncthing/cert.pem";
|
cert = config.age.secrets.syncthing-cert.path;
|
||||||
key = "/home/alex/backup/sync/hosts/sombrero/syncthing/key.pem";
|
key = config.age.secrets.syncthing-key.path;
|
||||||
|
|
||||||
guiAddress = "0.0.0.0:8384";
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,4 +15,7 @@ in {
|
|||||||
"pinwheel/netrc.age".publicKeys = [ pinwheel alex ];
|
"pinwheel/netrc.age".publicKeys = [ pinwheel alex ];
|
||||||
"pinwheel/work-ovpn.age".publicKeys = [ pinwheel alex ];
|
"pinwheel/work-ovpn.age".publicKeys = [ pinwheel alex ];
|
||||||
"pinwheel/work-ovpn-userpass.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 ];
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
secrets/sombrero/syncthing-cert.age
Normal file
BIN
secrets/sombrero/syncthing-cert.age
Normal file
Binary file not shown.
BIN
secrets/sombrero/syncthing-key.age
Normal file
BIN
secrets/sombrero/syncthing-key.age
Normal file
Binary file not shown.
Reference in New Issue
Block a user