home-assistant working

This commit is contained in:
Ingolf Wagner 2021-03-28 09:40:54 +02:00
parent e421a67919
commit d2f33997e7
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 17 additions and 4 deletions
system/server

View file

@ -18,7 +18,18 @@
programs.custom.vim.enable = true;
# no need to to start a service
environment.systemPackages = [ pkgs.mosh ];
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
];
}