mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
nixos/cloudflare-warp: add BindReadOnlyPaths for nftables executable
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user