From e10055393c71c928b4fecb4a010cf0c30433df94 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 7 Jul 2024 12:47:52 -0600 Subject: [PATCH] server enabled minidlna --- hosts/server/configuration.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index e61be9a..fbbfbac 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -57,8 +57,18 @@ [ (builtins.readFile ../../secrets/ssh/ed25519_nixworkstation.pub) ]; }; }; - services.btrfs.autoScrub = { - enable = true; - fileSystems = [ "/" ]; + services = { + minidlna = { + enable = true; + openFirewall = true; + settings = { + inotify = "yes"; + media_dir = [ "/mnt/pool" ]; + }; + }; + btrfs.autoScrub = { + enable = true; + fileSystems = [ "/" ]; + }; }; }