voyager: remove flame. Move DNS to base.nix

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

View File

@ -7,6 +7,7 @@
networking = {
domain = "home.feal.no";
nameservers = [ "192.168.10.3" "192.168.11.100" "1.1.1.1" ];
useDHCP = lib.mkDefault false;
};

View File

@ -16,7 +16,6 @@
networking = {
hostName = "chapel";
defaultGateway = "192.168.10.1";
nameservers = [ "192.168.10.1" ];
interfaces.eth0.ipv4 = {
addresses = [
{ address = "192.168.10.100"; prefixLength = 24; }

View File

@ -12,7 +12,6 @@
networking = {
hostName = "edison";
defaultGateway = "192.168.10.1";
nameservers = [ "192.168.11.100" "1.1.1.1" ];
# Networking / Wi-Fi is configured with NM for now. TODO
networkmanager.enable = true;

View File

@ -20,7 +20,6 @@
networking = {
hostName = "sarek";
defaultGateway = "192.168.10.1";
nameservers = [ "192.168.10.3" "192.168.11.100" "1.1.1.1" ];
interfaces."eth0".ipv4 = {
addresses = [
{ address = "192.168.10.181"; prefixLength = 24; }

View File

@ -20,7 +20,6 @@
./services/jellyfin.nix
./services/transmission.nix
./services/metrics
./services/flame.nix
./services/gitea.nix
./services/hedgedoc.nix
./services/vaultwarden.nix
@ -35,7 +34,6 @@
networking = {
hostName = "voyager";
defaultGateway = "192.168.10.1";
nameservers = [ "192.168.11.100" "1.1.1.1" ];
interfaces.eno1.ipv4 = {
addresses = [
{ address = "192.168.10.165"; prefixLength = 24; }

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}";
};
};
}