2021-04-08 05:46:06 +02:00
|
|
|
{ pkgs, config, lib, ... }: {
|
2021-03-28 13:52:29 +02:00
|
|
|
|
|
|
|
# no need to to start a service
|
|
|
|
environment.systemPackages = let
|
|
|
|
|
|
|
|
nginxShowConfig = pkgs.writers.writePython3Bin "nginx-show-config" {
|
|
|
|
flakeIgnore = [ "E265" "E225" "W292" ];
|
2021-09-25 15:17:07 +02:00
|
|
|
} (lib.fileContents ../../assets/nginx-show-config.sh);
|
2021-03-28 13:52:29 +02:00
|
|
|
in [
|
|
|
|
pkgs.mosh
|
|
|
|
|
|
|
|
# nginxfmt
|
|
|
|
pkgs.nginx-config-formatter
|
|
|
|
nginxShowConfig
|
|
|
|
];
|
|
|
|
}
|