From a6169de8986178a762aa990794d1f7f236ee62d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 3 Aug 2024 06:56:20 +0300 Subject: [PATCH] remove minidlna leftovers --- hosts/fwminex/configuration.nix | 8 ++++++++ hosts/vno1-oh2/configuration.nix | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 7e4e06d..733c433 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -65,6 +65,14 @@ in systemd.tmpfiles.rules = [ "d /var/www 0755 motiejus users -" ]; + systemd.services.minidlna = { + serviceConfig = { + ProtectSystem = "strict"; + ProtectHome = "tmpfs"; + BindReadOnlyPaths = [ "/home/motiejus/video" ]; + }; + }; + services = { pcscd.enable = true; acpid.enable = true; diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 451dd41..4f0c8b8 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -441,14 +441,6 @@ }; }; - minidlna = { - serviceConfig = { - ProtectSystem = "strict"; - ProtectHome = "tmpfs"; - BindReadOnlyPaths = [ "/home/motiejus/video" ]; - }; - }; - syncthing-relay.restartIfChanged = false; };