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