enabled nftables on work for incus

This commit is contained in:
Geir Okkenhaug Jerstad 2024-08-06 10:20:32 +02:00
parent 2c4de3985f
commit 8c3eb827a4

View file

@ -34,15 +34,20 @@
enable = true; enable = true;
algorithm = "zstd"; algorithm = "zstd";
}; };
# firmaware # firmaware
services.fwupd.enable = true; services.fwupd.enable = true;
# Bluetooth # Bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;
#services.blueman.enable = true; #services.blueman.enable = true;
# enable unfree # enable unfree
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Network # Network
networking.nftables.enable = true;
networking.hostName = "work"; networking.hostName = "work";
services.tailscale.enable = true; services.tailscale.enable = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -179,6 +184,7 @@
services.zfs.trim.enable = true; services.zfs.trim.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ 22 ]; networking.firewall.allowedUDPPorts = [ 22 ];
networking.firewall.enable = true; networking.firewall.enable = true;