about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-03-05 22:08:45 +0100
committerFelix Buehler <account@buehler.rocks>2023-03-06 22:40:04 +0100
commitd10e69c86bcd415f5c4347d3c6b981241e913465 (patch)
tree2ceccb33151ff07aa71680771ca6b6d549641164 /nixos/modules/services/home-automation
parent794f34657e066a5e8cc4bb34491fee02240c6ac4 (diff)
downloadnixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar.gz
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar.bz2
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar.lz
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar.xz
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.tar.zst
nixlib-d10e69c86bcd415f5c4347d3c6b981241e913465.zip
treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
Diffstat (limited to 'nixos/modules/services/home-automation')
-rw-r--r--nixos/modules/services/home-automation/home-assistant.nix2
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 6adc58ec58ec..cea8a2b14cc2 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";
       }
     ];