mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/captive-browser: drop setcap wrapper
Linux 5.7 is not supported on NixOS anymore, so this is dead-code.
This commit is contained in:
parent
8c57ddf379
commit
900ed1808d
1 changed files with 0 additions and 9 deletions
|
|
@ -21,8 +21,6 @@ let
|
|||
types
|
||||
;
|
||||
|
||||
requiresSetcapWrapper = config.boot.kernelPackages.kernelOlder "5.7" && cfg.bindInterface;
|
||||
|
||||
browserDefault =
|
||||
chromium:
|
||||
concatStringsSep " " [
|
||||
|
|
@ -144,12 +142,5 @@ in
|
|||
else
|
||||
throw "programs.captive-browser.dhcp-dns must be set"
|
||||
);
|
||||
|
||||
security.wrappers.captive-browser = mkIf requiresSetcapWrapper {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
capabilities = "cap_net_raw+p";
|
||||
source = "${captive-browser-configured}/bin/captive-browser";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue