1
0
Fork 0
piped-flake/module/nginx.nix
2023-09-08 12:01:41 +01:00

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;
};
}