voyager: remove flame. Move DNS to base.nix

This commit is contained in:
2023-10-05 23:46:22 +02:00
parent 0cae9e4995
commit 2d5e40882c
6 changed files with 1 additions and 27 deletions

View File

@@ -1,22 +0,0 @@
{ config, pkgs, lib, ... }:
let
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."flame.home.feal.no" = {
locations."/" = {
proxyPass = "http://${host}:${port}";
};
};
}