From 249be1b40fb212ba3994cd1b9dbd4554d507704c Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Tue, 14 Sep 2021 23:04:13 +0200 Subject: [PATCH] added diskstation --- modules/services/diskstation/default.nix | 4 ++++ secrets/davfs.age | Bin 427 -> 512 bytes 2 files changed, 4 insertions(+) diff --git a/modules/services/diskstation/default.nix b/modules/services/diskstation/default.nix index 89fd86b..0ab6760 100644 --- a/modules/services/diskstation/default.nix +++ b/modules/services/diskstation/default.nix @@ -11,6 +11,7 @@ let mapConf = pkgs.writeText "auto" '' keepass -fstype=davfs,uid=1000 :https\://davs.home.boehmies.de/home/Drive/ + diskstation -fstype=davfs,uid=1000 :https\://192.168.0.2\:5006/home/Drive/ ''; in '' @@ -18,6 +19,9 @@ ''; debug = true; }; + environment.etc."davfs2/certs/diskstation.pem" = { + text = builtins.readFile ./diskstation.pem; + }; home-manager.users.moritz = { services.unison = { diff --git a/secrets/davfs.age b/secrets/davfs.age index f4599cdd115972ac805d40a1926c1c5be7030143..5781f7ebcdab71d1ae7a95de8f931257216f02fc 100644 GIT binary patch delta 478 zcmV<40U`dY1AqjOEPq;9QaDg&c11X6HeypaQDH|}S$S<_V^UOhaY|`acz11VaXE2G zD`#tZK?+u9O>RebW<)YmIblO*F>GXGF=}utLrZQnNnvC*ctKTAIdeHpMsh|sYYHts zAaiqQEoEdfH8n9gAVX?(ab`gvVmNX^WjJMIbZl5vOgLwFNq=Z)PghY{LS{2fQ8i01 zaY`~xYGg)fOlEFp3Q;sec6w`SMOJT2ZAd~xb7glkFJxtPG;euLS#xN5Mp#99Sw}B6 zRWfpK3N1b$bw^@5FE%Y_a%Ew2Wgu{ET_AE%F;*cUStCbbeI-I5E?Z_gcQ`p}HgRHa z3iq^yAjb9~HQ$m6urEq(c2wd?+$L7kM;0hk;smZ0UFaTMQqUusB%E*1P+JD22Kj@; zFLhsf1bq8pKSMrz%*6vzv&CT*w7zIwCMv`Iu;&S-rB^h4v@d`buKezGI7Q>!X1gJS z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