diff options
author | Felix Buehler <account@buehler.rocks> | 2023-03-05 22:08:45 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2023-03-06 22:40:04 +0100 |
commit | d10e69c86bcd415f5c4347d3c6b981241e913465 (patch) | |
tree | 2ceccb33151ff07aa71680771ca6b6d549641164 /nixos/modules/services/home-automation/home-assistant.nix | |
parent | 794f34657e066a5e8cc4bb34491fee02240c6ac4 (diff) |
treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
Diffstat (limited to 'nixos/modules/services/home-automation/home-assistant.nix')
-rw-r--r-- | nixos/modules/services/home-automation/home-assistant.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix index 6adc58ec58ec4..cea8a2b14cc22 100644 --- a/nixos/modules/services/home-automation/home-assistant.nix +++ b/nixos/modules/services/home-automation/home-assistant.nix @@ -362,7 +362,7 @@ in { config = mkIf cfg.enable { assertions = [ { - assertion = cfg.openFirewall -> !isNull cfg.config; + assertion = cfg.openFirewall -> cfg.config != null; message = "openFirewall can only be used with a declarative config"; } ]; |