voyager: remove flame. Move DNS to base.nix
This commit is contained in:
parent
5a55fa3bb1
commit
a12250f9e6
1
base.nix
1
base.nix
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
|
@ -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
|
||||||
|
@ -35,7 +34,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; }
|
||||||
|
|
|
@ -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}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue