mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
rustboro: add syncthing key and cert
This commit is contained in:
parent
6f44243636
commit
83e283574d
|
@ -22,6 +22,16 @@
|
|||
|
||||
networking.hostName = "rustboro"; # Define your hostname.
|
||||
|
||||
age.secrets = {
|
||||
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
||||
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
cert = config.age.secrets.syncthingCert.path;
|
||||
key = config.age.secrets.syncthingKey.path;
|
||||
};
|
||||
|
||||
alyraffauf = {
|
||||
system = {
|
||||
plymouth.enable = true;
|
||||
|
|
Loading…
Reference in a new issue