minidlna: if enable
This commit is contained in:
parent
43337b2e0a
commit
be8435eeb5
@ -8,8 +8,7 @@ in
|
||||
paths = lib.mkOption { type = listOf path; };
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.minidlna = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
Loading…
Reference in New Issue
Block a user