summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/dragon.nix48
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.