From 382e57316a92e5258a00421caa9ad6083039359c Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 19 Apr 2024 15:49:13 +0900 Subject: [PATCH] remove docker --- nixos/hosts/framework-server/default.nix | 1 - .../hosts/framework-server/docker/default.nix | 6 ----- .../docker/external/default.nix | 5 ---- .../docker/internal/cyberchef.nix | 26 ------------------- .../docker/internal/default.nix | 5 ---- .../docker/internal/it-tools.nix | 26 ------------------- 6 files changed, 69 deletions(-) delete mode 100644 nixos/hosts/framework-server/docker/default.nix delete mode 100644 nixos/hosts/framework-server/docker/external/default.nix delete mode 100644 nixos/hosts/framework-server/docker/internal/cyberchef.nix delete mode 100644 nixos/hosts/framework-server/docker/internal/default.nix delete mode 100644 nixos/hosts/framework-server/docker/internal/it-tools.nix diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index fc0aaf1e..83b935a8 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -14,7 +14,6 @@ ./wireguard.nix ./cron.nix ./firewall.nix - ./docker ]; environment.systemPackages = [ diff --git a/nixos/hosts/framework-server/docker/default.nix b/nixos/hosts/framework-server/docker/default.nix deleted file mode 100644 index 93f93eb2..00000000 --- a/nixos/hosts/framework-server/docker/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ ... }: { - imports = [ - ./internal - ./external - ]; -} diff --git a/nixos/hosts/framework-server/docker/external/default.nix b/nixos/hosts/framework-server/docker/external/default.nix deleted file mode 100644 index f9e504cf..00000000 --- a/nixos/hosts/framework-server/docker/external/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: { - imports = [ - - ]; -} diff --git a/nixos/hosts/framework-server/docker/internal/cyberchef.nix b/nixos/hosts/framework-server/docker/internal/cyberchef.nix deleted file mode 100644 index adacc682..00000000 --- a/nixos/hosts/framework-server/docker/internal/cyberchef.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ ... }: { - virtualisation.oci-containers.containers."cyberchef" = { - image = "coretinth/cyberchef:latest"; - hostname = "cyberchef"; - log-driver = "journald"; - # dependsOn = [ - # "promtail" - # "traefik-int" - #]; - labels = { - "type" = "internal"; - "traefik.enable" = "true"; - "traefik.http.routers.cyberchef.tls" = "true"; - "traefik.http.routers.cyberchef.entrypoints" = "web-secure-int"; - "traefik.http.routers.cyberchef.rule" = "Host(`cyber.sysctl.io`)"; - "traefik.http.services.cyberchef.loadbalancer.server.port" = "8000"; - "traefik.http.routers.cyberchef.tls.certresolver" = "letsencrypt-int"; - "traefik.docker.network" = "sysctlio_default"; - # Flame Configs - "flame.icon" = "home"; - "flame.type" = "app"; - "flame.url" = "https://cyber.sysctl.io"; - "flame.name" = "Cyberchef"; - }; - }; -} diff --git a/nixos/hosts/framework-server/docker/internal/default.nix b/nixos/hosts/framework-server/docker/internal/default.nix deleted file mode 100644 index b81d3247..00000000 --- a/nixos/hosts/framework-server/docker/internal/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: { - imports = [ - ./it-tools.nix - ]; -} diff --git a/nixos/hosts/framework-server/docker/internal/it-tools.nix b/nixos/hosts/framework-server/docker/internal/it-tools.nix deleted file mode 100644 index 241effba..00000000 --- a/nixos/hosts/framework-server/docker/internal/it-tools.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ ... }: { - virtualisation.oci-containers.containers."it-tools" = { - image = "coretinth/it-tools:latest"; - hostname = "it-tools"; - log-driver = "journald"; - # dependsOn = [ - # "promtail" - # "traefik-int" - #]; - labels = { - "type" = "internal"; - "traefik.enable" = "true"; - "traefik.http.routers.it-tools.tls" = "true"; - "traefik.http.routers.it-tools.entrypoints" = "web-secure-int"; - "traefik.http.routers.it-tools.rule" = "Host(`sysctl.io`)"; - "traefik.http.services.it-tools.loadbalancer.server.port" = "80"; - "traefik.http.routers.it-tools.tls.certresolver" = "letsencrypt-int"; - "traefik.docker.network" = "sysctlio_default"; - # Flame Configs - "flame.icon" = "home"; - "flame.type" = "app"; - "flame.url" = "https://sysctl.io"; - "flame.name" = "IT Tools"; - }; - }; -}