diff --git a/nixos/modules/services/networking/cloudflare-warp.nix b/nixos/modules/services/networking/cloudflare-warp.nix index 9cd946903adc..0d7a1a987b51 100644 --- a/nixos/modules/services/networking/cloudflare-warp.nix +++ b/nixos/modules/services/networking/cloudflare-warp.nix @@ -73,6 +73,8 @@ in "${cfg.rootDir}" "/etc/resolv.conf" ]; + # warp-svc uses this absolute FHS path instead of looking up nft in PATH. + BindReadOnlyPaths = [ "${lib.getExe pkgs.nftables}:/usr/sbin/nft" ]; CapabilityBoundingSet = caps; AmbientCapabilities = caps; Restart = "always";