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