From d17802fc5e132b3c7e9b5db9f7a662b2245c17f0 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Sat, 1 Jan 2022 17:28:16 +0000 Subject: [PATCH] format nix, run netdata --- hosts/hetzner-vm/hetzner-vm.nix | 1 + hosts/hetzner-vm/services/netdata.nix | 1 + hosts/hetzner-vm/services/nginx.nix | 1 + hosts/lappy/lappy.nix | 7 ++----- 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 hosts/hetzner-vm/services/netdata.nix diff --git a/hosts/hetzner-vm/hetzner-vm.nix b/hosts/hetzner-vm/hetzner-vm.nix index 3ade34b..c44fe9f 100644 --- a/hosts/hetzner-vm/hetzner-vm.nix +++ b/hosts/hetzner-vm/hetzner-vm.nix @@ -13,6 +13,7 @@ hosts.hetzner-vm.services.nginx hosts.hetzner-vm.services.invidious hosts.hetzner-vm.services.vault + hosts.hetzner-vm.services.netdata (modulesPath + "/profiles/qemu-guest.nix") ]; diff --git a/hosts/hetzner-vm/services/netdata.nix b/hosts/hetzner-vm/services/netdata.nix new file mode 100644 index 0000000..6e1dc6c --- /dev/null +++ b/hosts/hetzner-vm/services/netdata.nix @@ -0,0 +1 @@ +{ lib, ... }: { services.netdata = { enable = true; }; } diff --git a/hosts/hetzner-vm/services/nginx.nix b/hosts/hetzner-vm/services/nginx.nix index 5b783a4..5926827 100644 --- a/hosts/hetzner-vm/services/nginx.nix +++ b/hosts/hetzner-vm/services/nginx.nix @@ -11,6 +11,7 @@ recommendedTlsSettings = true; commonHttpConfig = ""; clientMaxBodySize = "512m"; + serverNamesHashBucketSize = 1024; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; } diff --git a/hosts/lappy/lappy.nix b/hosts/lappy/lappy.nix index be5ecd2..b2485c1 100644 --- a/hosts/lappy/lappy.nix +++ b/hosts/lappy/lappy.nix @@ -41,11 +41,8 @@ ]; }; - services.getty.extraArgs = [ - "--skip-login" - "--login-options" - "chaoticryptidz" - ]; + services.getty.extraArgs = + [ "--skip-login" "--login-options" "chaoticryptidz" ]; networking.firewall.enable = true; # let vscode, vivaldi, etc work.