Skip to content

Commit 4b78d44

Browse files
committedSep 14, 2017
mtr nixos module: wrap the proper binary
1 parent d29a8f2 commit 4b78d44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎nixos/modules/programs/mtr.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ in {
1919
};
2020

2121
config = mkIf cfg.enable {
22-
security.wrappers.mtr = {
23-
source = "${pkgs.mtr}/bin/mtr";
22+
environment.systemPackages = with pkgs; [ mtr ];
23+
security.wrappers.mtr-packet = {
24+
source = "${pkgs.mtr}/bin/mtr-packet";
2425
capabilities = "cap_net_raw+p";
2526
};
2627
};

0 commit comments

Comments
 (0)
Please sign in to comment.