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
|
2021-11-01 09:20:42 +01:00
|
|
|
environment.systemPackages =
|
|
|
|
let
|
2021-03-28 13:52:29 +02:00
|
|
|
|
2021-11-01 09:20:42 +01:00
|
|
|
nginxShowConfig = pkgs.writers.writePython3Bin "nginx-show-config"
|
|
|
|
{
|
|
|
|
flakeIgnore = [ "E265" "E225" "W292" ];
|
|
|
|
}
|
|
|
|
(lib.fileContents ../../assets/nginx-show-config.sh);
|
|
|
|
in
|
|
|
|
[
|
|
|
|
pkgs.mosh
|
2021-03-28 13:52:29 +02:00
|
|
|
|
2021-11-01 09:20:42 +01:00
|
|
|
# nginxfmt
|
|
|
|
pkgs.nginx-config-formatter
|
|
|
|
nginxShowConfig
|
|
|
|
];
|
2021-03-28 13:52:29 +02:00
|
|
|
}
|