Skip to content

Commit

Permalink
services.tt-rss: do not unnecessarily start nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Apr 17, 2018
1 parent e0c9a25 commit d91caac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos/modules/services/web-apps/tt-rss.nix
Expand Up @@ -466,10 +466,10 @@ let
'';
};

services.nginx = {
# NOTE: No configuration is done if not using virtual host
services.nginx = mkIf (cfg.virtualHost != null) {
enable = true;
# NOTE: No configuration is done if not using virtual host
virtualHosts = mkIf (cfg.virtualHost != null) {
virtualHosts = {
"${cfg.virtualHost}" = {
root = "${cfg.root}";

Expand Down

0 comments on commit d91caac

Please sign in to comment.