diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-03-10 18:37:16 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-03-10 18:37:16 -0500 |
commit | c0dc752c7d03ae0c06a3bab32f4b7877afb67c28 (patch) | |
tree | 2669f0bc0a1fa0e165d1a261aebec03d9c5d60fb /machines | |
parent | 07675fef5836b22b1dcc495fc727128a942d139b (diff) |
Remove dead code
Diffstat (limited to 'machines')
-rw-r--r-- | machines/dragon.nix | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix index feed05d..bed3672 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -22,38 +22,13 @@ in orbekk.monitoring-server.enable = true; - # services.pjournal = { - # enable = true; - # port = (import ../data/aliases.nix).services.pjournal.port; - # base_url = "https://journal.orbekk.com"; - # }; - environment.systemPackages = with pkgs; [ ipmitool ]; - - # environment.etc."dhcpcd.duid".text = duid; - # systemd.services.dhcpcd.preStart = '' - # cp ${pkgs.writeText "duid" "${duid}"} /var/db/dhcpcd/duid - # ''; - programs.mosh.enable = true; virtualisation.lxd.enable = true; - #security.apparmor = { - # enable = true; - # profiles = [ - # "${pkgs.lxc}/etc/apparmor.d/usr.bin.lxc-star" - # "${pkgs.lxc}/etc/apparmor.d/lxc-containers" - # ]; - # packages = [ pkgs.lxc pkgs.apparmor-parser ]; - #}; 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; - #}; loader.grub.extraConfig = '' GRUB_TERMINAL="serial" @@ -69,29 +44,6 @@ in networking = { hostName = lib.mkForce "dragon"; - - firewall.allowPing = true; - firewall.checkReversePath = "loose"; - firewall.logRefusedConnections = false; - - # 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 - # ''; }; # Required to enable password authentication for one user. |