From 8418cc016cab1861c35294894fa0af318e2be30f Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Tue, 3 Sep 2024 13:00:12 +0200 Subject: [PATCH] fix biceps systemd units failing on activation --- hosts/bicep/acmeCert.nix | 24 ------------------------ hosts/bicep/configuration.nix | 5 +++-- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 hosts/bicep/acmeCert.nix diff --git a/hosts/bicep/acmeCert.nix b/hosts/bicep/acmeCert.nix deleted file mode 100644 index da949210..00000000 --- a/hosts/bicep/acmeCert.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ values, ... }: -{ - users.groups.acme.members = [ "nginx" ]; - - security.acme.certs."postgres.pvv.ntnu.no" = { - group = "acme"; - extraDomainNames = [ - # "postgres.pvv.org" - "bicep.pvv.ntnu.no" - # "bicep.pvv.org" - # values.hosts.bicep.ipv4 - # values.hosts.bicep.ipv6 - ]; - }; - - services.nginx = { - enable = true; - virtualHosts."postgres.pvv.ntnu.no" = { - forceSSL = true; - enableACME = true; - # useACMEHost = "postgres.pvv.ntnu.no"; - }; - }; -} diff --git a/hosts/bicep/configuration.nix b/hosts/bicep/configuration.nix index 21dbab65..0145826b 100644 --- a/hosts/bicep/configuration.nix +++ b/hosts/bicep/configuration.nix @@ -7,8 +7,6 @@ ../../misc/metrics-exporters.nix ./services/nginx - ./acmeCert.nix - ./services/mysql.nix ./services/postgres.nix ./services/mysql.nix @@ -36,6 +34,9 @@ anyInterface = true; }; + # There are no smart devices + services.smartd.enable = false; + # Do not change, even during upgrades. # See https://search.nixos.org/options?show=system.stateVersion system.stateVersion = "22.11";