From 605a2005bb92dc47556ea6e540d4d2d1c515ffdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Sun, 8 Nov 2020 18:23:56 -0500 Subject: dragon config --- machines/dragon.nix | 61 +++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) (limited to 'machines') diff --git a/machines/dragon.nix b/machines/dragon.nix index 039a947..b613998 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -4,7 +4,8 @@ let in { imports = [ - ../config/minecraft.nix + ../config/router.nix + #../config/minecraft.nix ../config/acme-sh.nix ../config/mpd.nix ../config/borg-backup.nix @@ -15,19 +16,19 @@ in # ../config/hydra.nix ../config/web-server.nix ../config/cgit.nix - ../config/mail-server.nix + # ../config/mail-server.nix ../config/munin-node.nix ../config/munin-master.nix ../config/vpn-server.nix ../config/terraria.nix - ../config/pjournal.nix + # ../config/pjournal.nix ]; - services.pjournal = { - enable = true; - port = (import ../data/aliases.nix).services.pjournal.port; - base_url = "https://journal.orbekk.com"; - }; + # services.pjournal = { + # enable = true; + # port = (import ../data/aliases.nix).services.pjournal.port; + # base_url = "https://journal.orbekk.com"; + # }; environment.systemPackages = with pkgs; [ ipmitool ]; @@ -50,11 +51,11 @@ in boot = { kernelParams = [ "console=tty0" ''console="ttyS0,115200n8"'' ]; - kernel.sysctl = { - "net.ipv4.conf.all.forwarding" = true; - "net.ipv6.conf.all.forwarding" = true; - "net.ipv6.conf.br0.accept_ra" = 2; - }; + #kernel.sysctl = { + # "net.ipv4.conf.all.forwarding" = true; + # "net.ipv6.conf.all.forwarding" = true; + # "net.ipv6.conf.br0.accept_ra" = 2; + #}; loader.grub.extraConfig = '' GRUB_TERMINAL="serial" @@ -75,24 +76,24 @@ in firewall.checkReversePath = "loose"; firewall.logRefusedConnections = false; - useDHCP = false; - interfaces.br0.useDHCP = true; - bridges = { - br0 = { - interfaces = ["eno2"]; - }; - }; + # useDHCP = false; + # interfaces.br0.useDHCP = true; + # bridges = { + # br0 = { + # interfaces = ["eno2"]; + # }; + # }; - dhcpcd.enable = true; - dhcpcd.extraConfig = '' - duid - ipv6ra_noautoconf - debug - interface br0 - clientid ${duid} - ipv6ra_noautoconf - dhcp6 - ''; + # dhcpcd.enable = true; + # dhcpcd.extraConfig = '' + # duid + # ipv6ra_noautoconf + # debug + # interface br0 + # clientid ${duid} + # ipv6ra_noautoconf + # dhcp6 + # ''; }; # Required to enable password authentication for one user. -- cgit v1.2.3