From 65eac0b41c1e10002aa53006526789d4949c25ee Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 25 Apr 2024 11:16:49 +0200 Subject: [PATCH] add OSCAR and to read CPAP data --- nixos/components/network/syncthing.nix | 5 +++++ nixos/homes/palo/packages/packages.nix | 2 ++ nixos/machines/cherry/syncthing.nix | 4 ++++ nixos/machines/chungus/media-syncthing.nix | 4 ++++ nixos/machines/cream/syncthing.nix | 4 ++++ 5 files changed, 19 insertions(+) diff --git a/nixos/components/network/syncthing.nix b/nixos/components/network/syncthing.nix index 9dbc69f..a53e2af 100644 --- a/nixos/components/network/syncthing.nix +++ b/nixos/components/network/syncthing.nix @@ -51,6 +51,11 @@ with lib; { # needs to be on encrypted drives # ------------------------------- + oscar_cpap = { + enable = lib.mkDefault false; + path = lib.mkDefault "/tmp/oscar_cpap"; + devices = [ "chungus" "cream" "cherry" ]; + }; audiobooks = { enable = lib.mkDefault false; path = lib.mkDefault "/tmp/audiobooks"; diff --git a/nixos/homes/palo/packages/packages.nix b/nixos/homes/palo/packages/packages.nix index bd55ec1..8449a41 100644 --- a/nixos/homes/palo/packages/packages.nix +++ b/nixos/homes/palo/packages/packages.nix @@ -46,6 +46,8 @@ with lib; unstable.yt-dlp + OSCAR + ]; }; diff --git a/nixos/machines/cherry/syncthing.nix b/nixos/machines/cherry/syncthing.nix index 12f0fa1..02ba6d1 100644 --- a/nixos/machines/cherry/syncthing.nix +++ b/nixos/machines/cherry/syncthing.nix @@ -16,6 +16,10 @@ # on encrypted drive # ------------------ + oscar_cpap = { + enable = true; + path = "/home/palo/Documents/OSCAR_Data"; + }; password-store = { enable = true; path = "/home/palo/.password-store"; diff --git a/nixos/machines/chungus/media-syncthing.nix b/nixos/machines/chungus/media-syncthing.nix index 96872b3..2fb5713 100644 --- a/nixos/machines/chungus/media-syncthing.nix +++ b/nixos/machines/chungus/media-syncthing.nix @@ -14,6 +14,10 @@ folders = { # on encrypted drive # ------------------ + oscar_cpap = { + enable = true; + path = "/syncthing/oscar_cpap"; + }; logseq = { enable = true; path = "/syncthing/logseq"; diff --git a/nixos/machines/cream/syncthing.nix b/nixos/machines/cream/syncthing.nix index c3e5c1f..4fef3f4 100644 --- a/nixos/machines/cream/syncthing.nix +++ b/nixos/machines/cream/syncthing.nix @@ -16,6 +16,10 @@ # on encrypted drive # ------------------ + oscar_cpap = { + enable = true; + path = "/home/palo/Documents/OSCAR_Data"; + }; password-store = { enable = true; path = "/home/palo/.password-store";