12 lines
165 B
Nix
12 lines
165 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
cfg = config.services.piped;
|
||
|
in {
|
||
|
config = lib.mkIf (cfg.enable && !cfg.disableNginx) {
|
||
|
services.nginx.enable = true;
|
||
|
};
|
||
|
}
|