diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix index 3a0640b0d80..ca6738f0fe1 100644 --- a/nixos/modules/services/networking/unifi.nix +++ b/nixos/modules/services/networking/unifi.nix @@ -70,7 +70,7 @@ in ''; postStop = '' - rm "${stateDir}/webapps" + rm -rf "${stateDir}/webapps" ''; serviceConfig = {