nixos/home-assistant: only add ping to path when it is required
This commit is contained in:
@@ -1043,9 +1043,7 @@ in
|
||||
];
|
||||
UMask = "0077";
|
||||
};
|
||||
path = [
|
||||
pkgs.unixtools.ping # needed for ping
|
||||
];
|
||||
path = with pkgs; lib.optionals (any useComponent componentsUsingPing) [ unixtools.ping ];
|
||||
};
|
||||
|
||||
systemd.targets.home-assistant = rec {
|
||||
|
||||
Reference in New Issue
Block a user