rm syncthing

This commit is contained in:
2025-12-30 11:30:50 +01:00
parent e2e246b52b
commit b95fac6927
19 changed files with 8 additions and 788 deletions

View File

@@ -11,10 +11,4 @@
nixos = "25.11";
homeManager = "25.11";
};
syncthingDeviceIds = {
tahani = "6B7OZZF-TEAMUGO-FBOELXP-Z4OY7EU-5ZHLB5T-V6Z3UDB-Q2DYR43-QBYW6QM";
jason = "42II2VO-QYPJG26-ZS3MB2I-AOPVZ67-JJNSE76-U54CO5Y-634A5OG-ECU4YQA";
chidi = "N7W6SUT-QO6J4BE-T3Y65SM-OFGYGNV-TGYBJPX-JVN4Z72-AENZ247-KWXOQA6";
};
}

View File

@@ -1,25 +0,0 @@
{
mkSyncthingSecrets = {
hostname,
user,
isDarwin,
}: let
homeDir =
if isDarwin
then "/Users/${user}"
else "/home/${user}";
in {
"${hostname}-syncthing-cert" = {
sopsFile = ../secrets/${hostname}-syncthing-cert;
format = "binary";
owner = user;
path = "${homeDir}/.config/syncthing/cert.pem";
};
"${hostname}-syncthing-key" = {
sopsFile = ../secrets/${hostname}-syncthing-key;
format = "binary";
owner = user;
path = "${homeDir}/.config/syncthing/key.pem";
};
};
}