From a7888cb1642d9540f7789603ec261459836b03c8 Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Mon, 24 Feb 2025 18:43:09 -0600 Subject: [PATCH] removed horizon and twilight from notes and calendar share --- modules/nixos-modules/sync.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/modules/nixos-modules/sync.nix b/modules/nixos-modules/sync.nix index 07d7bb3..72795aa 100644 --- a/modules/nixos-modules/sync.nix +++ b/modules/nixos-modules/sync.nix @@ -86,6 +86,14 @@ in { defiant = lib.mkIf (config.networking.hostName != "defiant") "defiant"; twilight = lib.mkIf (config.networking.hostName != "twilight") "twilight"; horizon = lib.mkIf (config.networking.hostName != "horizon") "horizon"; + allDevices = [ + defiant + ceder + coven + twilight + horizon + shale + ]; leylaDevices = [ defiant ceder @@ -112,25 +120,21 @@ in { "calendar" = { id = "8oatl-1rv6w"; path = "${mountDir}/leyla/calendar"; - devices = leylaDevices; + devices = superNoteTablets; }; }) (lib.mkIf config.host.sync.folders.leyla.notes.enable { "notes" = { id = "dwbuv-zffnf"; path = "${mountDir}/leyla/notes"; - devices = leylaDevices; + devices = superNoteTablets; }; }) (lib.mkIf config.host.sync.folders.share.enable { "share" = { id = "73ot0-cxmkx"; path = "${mountDir}/default/share"; - devices = [ - ceder - shale - defiant - ]; + devices = allDevices; }; }) ];