Move more services to defiant. Remove sarek.

This commit is contained in:
2023-12-25 01:37:05 +01:00
committed by Felix Albrigtsen
parent b19fd41233
commit 5d10f85c18
17 changed files with 212 additions and 277 deletions

View File

@@ -0,0 +1,22 @@
{ 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}";
};
}