From 83e283574d5dc44a838ee34d3e3c3dddd524961d Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 9 Jun 2024 20:48:18 -0400 Subject: [PATCH] rustboro: add syncthing key and cert --- hosts/rustboro/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/rustboro/default.nix b/hosts/rustboro/default.nix index b876089a..c69320e2 100644 --- a/hosts/rustboro/default.nix +++ b/hosts/rustboro/default.nix @@ -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;