From 01b771b17dbb0efb4f7135a4205e70eea1d62d7b Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 28 Jul 2026 15:45:22 +0100 Subject: [PATCH] quickshell: fix ping path, no wrapper on NixOS Co-Authored-By: Claude Opus 5 --- settings/quickshell.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 2de99d9..92093a4 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -418,9 +418,9 @@ in readonly property string systemctl: "${pkgs.systemd}/bin/systemctl" readonly property string weatherFetch: "${weatherFetchScript}" readonly property string ssh: "${pkgs.openssh}/bin/ssh" - // /run/wrappers, not the store path: ping needs cap_net_raw - // and only the NixOS wrapper carries it. - readonly property string ping: "/run/wrappers/bin/ping" + // Unprivileged ping works via ICMP dgram sockets — NixOS sets + // net.ipv4.ping_group_range for everyone (no wrapper exists). + readonly property string ping: "${pkgs.iputils}/bin/ping" // Recoloured to the theme accent at draw time (ColorOverlay), // so the stock blue/grey snowflake artwork is fine here. readonly property string nixLogo: "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"