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; };