summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-01-16 20:56:25 +0100
committerAlan Pearce2021-01-16 20:56:54 +0100
commit99fdc45339535264a5d17d17df6c54035450afb0 (patch)
treede96c759380e9d937a35348bbe6f489739760951
parentecf61955c15b2b7e5a0f05a8be0c784b34c8b7c7 (diff)
downloadnixfiles-99fdc45339535264a5d17d17df6c54035450afb0.tar.xz
nixfiles-99fdc45339535264a5d17d17df6c54035450afb0.zip
prefect: use connman
-rw-r--r--system/prefect.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index 36fc62e1..9ac8bd7b 100644 --- a/system/prefect.nix +++ b/system/prefect.nix
@@ -15,6 +15,7 @@
15 ./settings/hardware/bare-metal.nix 15 ./settings/hardware/bare-metal.nix
16 ./settings/hardware/bluetooth.nix 16 ./settings/hardware/bluetooth.nix
17 ./settings/hardware/nvme-root.nix 17 ./settings/hardware/nvme-root.nix
18 ./settings/hardware/connman.nix
18 ./settings/hardware/mouse.nix 19 ./settings/hardware/mouse.nix
19 ./settings/hardware/grub2.nix 20 ./settings/hardware/grub2.nix
20 ./settings/hardware/nvidia-gpu.nix 21 ./settings/hardware/nvidia-gpu.nix
@@ -71,9 +72,6 @@
71 }; 72 };
72 networking.useDHCP = false; 73 networking.useDHCP = false;
73 networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ]; 74 networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ];
74 networking.interfaces.enp6s0 = {
75 useDHCP = true;
76 };
77 75
78 networking.firewall.extraCommands = '' 76 networking.firewall.extraCommands = ''
79 iptables -A nixos-fw -p udp --source 172.30.44.0/24 -j nixos-fw-accept 77 iptables -A nixos-fw -p udp --source 172.30.44.0/24 -j nixos-fw-accept