1
0
Fork 0
piped-flake/module/nginx.nix

12 lines
165 B
Nix
Raw Normal View History

2023-09-08 10:59:27 +01:00
{
config,
lib,
...
}: let
cfg = config.services.piped;
in {
config = lib.mkIf (cfg.enable && !cfg.disableNginx) {
services.nginx.enable = true;
};
}