From a3b33781181b1129d058c173bb394cf7d03801af Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 27 Sep 2024 17:04:03 +0200 Subject: [PATCH] syncthing: add rocm --- users/pbsds/syncthing.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/pbsds/syncthing.nix b/users/pbsds/syncthing.nix index 5dea610..2f0d466 100644 --- a/users/pbsds/syncthing.nix +++ b/users/pbsds/syncthing.nix @@ -1,5 +1,7 @@ { config, lib, pkgs, ...}: +# todo: portable service and system-manager + let inherit (config.services.syncthing) dataDir @@ -37,12 +39,13 @@ in # nix run -- nixpkgs#syncthing generate --config="$HOME"/syncthing/.config/syncthing devices."bjarte".id = "C7QQYJU-PMJDP2Z-CKTAV4A-V6IFEG5-YFBGCNU-PJPCZFC-QSXKZY3-NC5WRAL"; + devices."rocm".id = "UFW6V4E-LMEDTYR-23BU6BP-2HEMWYB-2ARCJ4X-T67WHZX-BNCCHZ4-5GPSZQV"; devices."sopp".id = "ZQJEWAX-GALDJDO-FBOE5ON-M5XKXNT-PRZD3CY-S7L3XDR-PR27NYL-RZ6O7QW"; /* devices."sopp".autoAcceptFolders = true; # TODO */ folders."ntnu" = { path = "${dataDir}/ntnu"; - devices = [ "bjarte" "sopp" ]; + devices = [ "bjarte" "sopp" "rocm" ]; /* ignorePerms = false; # `false` means sync file permissions */ };