about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation/home-assistant.nix
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-10-20 00:57:55 +0200
committerGitHub <noreply@github.com>2023-10-20 00:57:55 +0200
commitd042a296139c6a111be3e3d5dc9ef6783b5e7c16 (patch)
tree4ced7f46c1e8fc4b4f6d14208e038c7f1b6f6041 /nixos/modules/services/home-automation/home-assistant.nix
parent9f27f8b28ee45597d113498db0ee0d726f2b74a2 (diff)
parent759ec1113d0a1d6315b38bd83ec3562dacc08238 (diff)
Merge pull request #253764 from linj-fork/fix-ping-wrapper
nixos/network-interfaces: stop wrapping ping with cap_net_raw
Diffstat (limited to 'nixos/modules/services/home-automation/home-assistant.nix')
-rw-r--r--nixos/modules/services/home-automation/home-assistant.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix
index 7dc08d4356aab..99bac86a8e9a6 100644
--- a/nixos/modules/services/home-automation/home-assistant.nix
+++ b/nixos/modules/services/home-automation/home-assistant.nix
@@ -588,11 +588,12 @@ in {
           "~@privileged"
         ] ++ optionals (any useComponent componentsUsingPing) [
           "capset"
+          "setuid"
         ];
         UMask = "0077";
       };
       path = [
-        "/run/wrappers" # needed for ping
+        pkgs.unixtools.ping # needed for ping
       ];
     };