voyager: remove flame. Move DNS to base.nix

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

View File

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

View File

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

View File

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

View File

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

View File

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