diff --git a/modules/nixos/services/samba/default.nix b/modules/nixos/services/samba/default.nix index 3a0e051..1aed976 100755 --- a/modules/nixos/services/samba/default.nix +++ b/modules/nixos/services/samba/default.nix @@ -4,12 +4,10 @@ ... }: let - inherit (flake.config.services.instances) - samba - jellyfin - audiobookshelf + inherit (flake.config.services) + instances ; - service = samba; + service = instances.samba; in { # If you ever need to start fresh, you need to add yourself to the Samba users database: @@ -20,12 +18,16 @@ in enable = true; openFirewall = true; settings = { - ${jellyfin.name} = { - path = jellyfin.paths.path0; + ${instances.jellyfin.name} = { + path = instances.jellyfin.paths.path0; writable = "true"; }; - ${audiobookshelf.name} = { - path = audiobookshelf.paths.path0; + ${instances.audiobookshelf.name} = { + path = instances.audiobookshelf.paths.path0; + writable = "true"; + }; + ${instances.comfyui.name} = { + path = instances.comfyui.paths.path0; writable = "true"; }; };