From 3320e118215eea6c1b3f271d0333e4b1d1449c8d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 23 May 2023 17:17:51 +0100 Subject: [PATCH 1/2] Sync notes from server to work PC --- syncthing/Vanguard.nix | 10 ++-------- syncthing/devices/default.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 syncthing/devices/default.nix diff --git a/syncthing/Vanguard.nix b/syncthing/Vanguard.nix index 29bfa14f..ca38a374 100644 --- a/syncthing/Vanguard.nix +++ b/syncthing/Vanguard.nix @@ -1,11 +1,5 @@ {...}: { - imports = [ - ./default.nix - ./devices/ion.nix - ./devices/monarch.nix - ./devices/northstar.nix - ./devices/remarkable.nix - ]; + imports = [./default.nix ./devices]; services.syncthing = { user = "xenia"; group = "users"; @@ -48,7 +42,7 @@ }; "Notes" = { path = "/home/xenia/notes"; - devices = ["ion" "monarch" "northstar"]; + devices = ["ion" "monarch" "northstar" "H0615"]; enable = true; }; "Pictures" = { diff --git a/syncthing/devices/default.nix b/syncthing/devices/default.nix new file mode 100644 index 00000000..ce327ff0 --- /dev/null +++ b/syncthing/devices/default.nix @@ -0,0 +1,10 @@ +{...}: { + imports = [ + ./devices/H0615.nix + ./devices/ion.nix + ./devices/monarch.nix + ./devices/northstar.nix + ./devices/remarkable.nix + ./devices/vanguard.nix + ]; +} From 85403e0d543ad5c1fb2efcbd5df88285009d5b92 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 23 May 2023 17:18:26 +0100 Subject: [PATCH 2/2] Fix paths in devices/default.nix --- syncthing/devices/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/syncthing/devices/default.nix b/syncthing/devices/default.nix index ce327ff0..412f6fc7 100644 --- a/syncthing/devices/default.nix +++ b/syncthing/devices/default.nix @@ -1,10 +1,10 @@ {...}: { imports = [ - ./devices/H0615.nix - ./devices/ion.nix - ./devices/monarch.nix - ./devices/northstar.nix - ./devices/remarkable.nix - ./devices/vanguard.nix + ./H0615.nix + ./ion.nix + ./monarch.nix + ./northstar.nix + ./remarkable.nix + ./vanguard.nix ]; }