From e12564358d56ffcb4d8c17fc7750a8fcf3ed34e3 Mon Sep 17 00:00:00 2001 From: jasmine Date: Thu, 6 Jun 2024 09:23:12 +0800 Subject: [PATCH] Remove dashboard --- nixos/viridian/containers/default.nix | 1 - nixos/viridian/containers/homarr.nix | 44 --------------------------- 2 files changed, 45 deletions(-) delete mode 100644 nixos/viridian/containers/homarr.nix diff --git a/nixos/viridian/containers/default.nix b/nixos/viridian/containers/default.nix index 24b55e7..835b260 100644 --- a/nixos/viridian/containers/default.nix +++ b/nixos/viridian/containers/default.nix @@ -3,7 +3,6 @@ { imports = [ ./adguardhome.nix - ./homarr.nix ./jellyfin.nix ./jellyseerr.nix ./lidarr.nix diff --git a/nixos/viridian/containers/homarr.nix b/nixos/viridian/containers/homarr.nix deleted file mode 100644 index 7a775d9..0000000 --- a/nixos/viridian/containers/homarr.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ ... }: - -{ - virtualisation.oci-containers.containers = { - homarr = { - autoStart = true; - image = "ghcr.io/ajnart/homarr:latest"; - ports = [ - "7575:7575/tcp" # WebUI - ]; - volumes = [ - # Container data - "/srv/containers/homarr/configs:/app/data/configs:rw" - "/srv/containers/homarr/icons:/app/public/icons:rw" - "/srv/containers/homarr/data:/data:rw" - # Docker Integration - "/var/run/docker.sock:/var/run/docker.sock:ro" - ]; - extraOptions = [ - "--network=host" - ]; - }; - }; - - services.traefik.dynamicConfigOptions.http.routers = { - homarr = { - rule = "Host(`kanto.dev`)"; - entryPoints = [ - "websecure" - ]; - middlewares = [ - "admin" - ]; - service = "homarr"; - }; - }; - - services.traefik.dynamicConfigOptions.http.services = { - homarr.loadBalancer.servers = [ - { url = "http://127.0.0.1:7575"; } - ]; - }; -} -