diff --git a/hosts/defiant/configuration.nix b/hosts/defiant/configuration.nix index d979f40..a4e17dd 100644 --- a/hosts/defiant/configuration.nix +++ b/hosts/defiant/configuration.nix @@ -18,12 +18,10 @@ ./services/wireguard.nix # Services - # ./services/flame.nix ./services/gitea.nix ./services/hedgedoc.nix ./services/home-assistant.nix ./services/keycloak.nix - # ./services/koillection.nix ./services/matrix ./services/microbin.nix # ./services/minecraft/home.nix diff --git a/hosts/defiant/services/flame.nix b/hosts/defiant/services/flame.nix deleted file mode 100644 index c7e7659..0000000 --- a/hosts/defiant/services/flame.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, pkgs, lib, ... }: -let - domain = "flame.home.feal.no"; - host = "127.0.1.2"; - port = "5005"; -in { - # Flame - Homelab dashboard/linktree - virtualisation.oci-containers.containers = { - flame = { - image = "pawelmalak/flame"; - ports = [ "${host}:${port}:5005" ]; - volumes = [ - "/var/lib/flame/data:/app/data/" - ]; - }; - }; - - services.nginx.virtualHosts."${domain}" = { - locations."/".proxyPass = "http://${host}:${port}"; - }; -} - diff --git a/hosts/defiant/services/koillection.nix b/hosts/defiant/services/koillection.nix deleted file mode 100644 index 0ba4c8c..0000000 --- a/hosts/defiant/services/koillection.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ config, pkgs, lib, ... }: -let - domain = "koillection.home.feal.no"; - port = 5023; -in { - virtualisation.oci-containers.containers = { - koillection = { - image = "koillection/koillection"; - - ports = [ - "127.0.1.2:${toString port}:80" - ]; - - environment = { - APP_DEBUG = "0"; - APP_ENV = "prod"; - HTTPS_ENABLED = "0"; - UPLOAD_MAX_FILESIZE = "512M"; - PHP_MEMORY_LIMIT = "512M"; - PHP_TZ = "Europe/Oslo"; - - CORS_ALLOW_ORIGIN = "https?://(localhost|koillection\\.home\\.feal\\.no)(:[0-9]+)?$"; - JWT_SECRET_KEY = "%kernel.project_dir%/config/jwt/private.pem"; - JWT_PUBLIC_KEY = "%kernel.project_dir%/config/jwt/public.pem"; - - DB_DRIVER = "pdo_pgsql"; - DB_NAME = "koillection"; - DB_HOST = "host.docker.internal"; - DB_USER = "koillection"; - # DB_PASSWORD = "koillection"; # Set in sops envfile - DB_PORT = "5432"; - DB_VERSION = "16"; - }; - - environmentFiles = [ - config.sops.secrets."koillection/envfile".path - ]; - - extraOptions = [ - "--add-host=host.docker.internal:host-gateway" - ]; - }; - }; - - sops.secrets."koillection/envfile" = { }; - - services.postgresql = { - ensureDatabases = [ "koillection" ]; - ensureUsers = [ { - name = "koillection"; - ensureDBOwnership = true; - } ]; - }; - - services.nginx.virtualHosts."${domain}" = { - locations."/".proxyPass = "http://127.0.1.2:${toString port}"; - }; -} - diff --git a/secrets/defiant/defiant.yaml b/secrets/defiant/defiant.yaml index e9a0fa8..da9ce05 100644 --- a/secrets/defiant/defiant.yaml +++ b/secrets/defiant/defiant.yaml @@ -18,8 +18,6 @@ restic: vaultwarden: ENC[AES256_GCM,data:tZKf1jeQPBASruDP67NrVfwFoAZ20whQIHf1SWIQz0s=,iv:kyfqvEf/DiAGHAU99HVGri15kluewijkSPOCGKjxIaQ=,tag:tmDQPH2IjjUV5wLegXXybg==,type:str] keycloak: postgres: ENC[AES256_GCM,data:OYvpSyBAQfAJg4/syz1r,iv:Ge6m63YPl+gJPepIRmBz747bXqUo65MHQaRn1S/8m2I=,tag:18bFwYtmcslXlgflfYqM8w==,type:str] -koillection: - envfile: ENC[AES256_GCM,data:3wq6xiULzELDxtDsBfPbKrnEsAEoG9oQREyaEoe0AVpJziVMrhEQruLCl1F/,iv:IscSmKD8nwQ2HmNnC+54rZrWMimdYPLCArmt/ToTdNM=,tag:J3QYTUtJhpn+R8hpqkA9zg==,type:str] searx: envfile: ENC[AES256_GCM,data:BlLVb7C2z/kFxULQnNsGucFZg/R57i0GGMZ6PUhkG1fmYGdY0q31948Z1NoMMaEcwQEdOX6Z8+m96o/RjRTt7K3V+n5+cI1OX9pfoTBwDcJ7/w==,iv:MM+t38IZFdzCXM4jG7jH0uZZP8Zs8kyH8Xe3bPiVmUM=,tag:0ezofl1dDXm1o974f2wRrw==,type:str] sops: @@ -60,7 +58,7 @@ sops: ZVp5RHU2U1ppakJCMFozWUNGSXhvNkkKDVPJGjPDaX+n3v27PBdMyk9kuzXnRIop h5XGRkJHTC4emo8zgKpBfByEb2fkBSL3k2ffZbVYtxrpupVBmT1Uqw== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-12-31T11:50:02Z" - mac: ENC[AES256_GCM,data:skTdbNg8f9c0YiSzv8v9j5duCqcd2sR/tmomeZz8iWM9FQHHs9EO/SMjGQBWIlYjIJS5Pv9g6/yI5WT8L3D/vK+Ajih32397X6noqSjTFv7yfJCaQh8NxNOC6Q8RRyPT5mNjB76HQb6IxHnQYg74zi5CUjMLXwsCAIOBJvcFyiE=,iv:wZtw3DN+g/2zjDpLGkwHLFnsZQ4zQY3oifOFWhsPTE4=,tag:aDeTeCxl7I132jhRrtpVMg==,type:str] + lastmodified: "2025-11-14T22:36:00Z" + mac: ENC[AES256_GCM,data:H//LCiMw1wE7IDFvKf/QEhOlAjx83R4bxGCE9g4lG0dg2V9LD2bWOq2FVGUrMxw350Rj8CFIWaS5ZolGOvUetbDiQTlqayXi7OArGKBkJphoAdr2rskGYVULmB90a4wp1Fq9oIW2ZjbeURQkwybGJzBTCXFRNWp1VcY1STxzlR8=,iv:DWNLKAcscWIUZ9n46I3dssCM7416oGdsY/mPy1YzrJA=,tag:Q03jAMKSDJw5HmFb9i3Hxg==,type:str] unencrypted_suffix: _unencrypted - version: 3.9.2 + version: 3.11.0