Skip to content

Commit 003a82b

Browse files
committed
base: default to nftables firewall driver for podman
1 parent ca2fed0 commit 003a82b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config/nixos/system/base.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252

5353
networking.nftables.enable = lib.mkDefault true;
5454

55+
virtualisation.containers.containersConf.settings.network.firewall_driver =
56+
lib.mkIf config.networking.nftables.enable "nftables";
57+
5558
users.mutableUsers = false;
5659

5760
systemd = {

0 commit comments

Comments
 (0)