diff options
author | Kevin Cox <kevincox@kevincox.ca> | 2023-01-03 13:07:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 13:07:43 -0500 |
commit | c930fd9517f3c51fe69246990bff1373832c8fd2 (patch) | |
tree | dabbf317ad7a7bb8c0ed4a49acf94b43fc01360d /nixos/modules/services | |
parent | a09abe0b4396394eb88428d176eca9f67de8ddf6 (diff) | |
parent | 487b51e77c35a683ca99206a12478f9957a6e942 (diff) |
Merge pull request #207874 from kevincox/nginx-unique
nixos/nginx: Deduplicate modules.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/web-servers/nginx/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index 95e600ea79a5a..d31f3d5d4650b 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -571,7 +571,7 @@ in defaultText = literalExpression "pkgs.nginxStable"; type = types.package; apply = p: p.override { - modules = p.modules ++ cfg.additionalModules; + modules = lib.unique (p.modules ++ cfg.additionalModules); }; description = lib.mdDoc '' Nginx package to use. This defaults to the stable version. Note |