nixos-config/system/server/packages.nix

17 lines
372 B
Nix
Raw Normal View History

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