From 27312fcd239c72a84f22b8ba5326621fe1211ad1 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:57:26 +0200 Subject: [PATCH] fix default-creds Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- flake.lock | 6 +++--- server-modules/default-creds.nix | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index bfe02578..198aea91 100644 --- a/flake.lock +++ b/flake.lock @@ -115,11 +115,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1787818431, - "narHash": "sha256-CNXlYP22cJ9pOgCnZXDWA2nX6KevbtPIbQ4mpz7Qb+Q=", + "lastModified": 1787922174, + "narHash": "sha256-92XrVsySas31tuUkJ2jfVVBPCJLq3Wf/BZ+umcfUUrk=", "owner": "anotherhadi", "repo": "default-creds-web", - "rev": "f376048495395ec58197281fc10bfb96ecd56019", + "rev": "974ced370efb3197fe4676824c2ab2800a938e8f", "type": "github" }, "original": { diff --git a/server-modules/default-creds.nix b/server-modules/default-creds.nix index 5bcf0cca..090f108a 100644 --- a/server-modules/default-creds.nix +++ b/server-modules/default-creds.nix @@ -12,6 +12,7 @@ in { name = "def-creds"; hostIp = "10.233.6.1"; containerIp = "10.233.6.2"; + internet = true; nixosConfig = {...}: { imports = [inputs.default-creds-web.nixosModules.default]; services.default-creds-web = { @@ -19,7 +20,7 @@ in { port = 8087; }; networking.firewall.allowedTCPPorts = [8087]; - systemd.services.default-creds.environment = { + systemd.services.default-creds-web.environment = { HOST = lib.mkForce "0.0.0.0"; PUBLIC_UMAMI_URL = "https://umami.${domain}"; PUBLIC_UMAMI_WEBSITE_ID = "7197484c-01ad-488e-9caa-5ab7b7595f08";