about summary refs log tree commit diff
path: root/modules/nixos/docker.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-02-29 12:54:39 +0300
committerAzat Bahawi <azat@bahawi.net>2024-02-29 12:54:39 +0300
commit37420f58905057b2ca31b208e9c6c4d6e773a99d (patch)
tree3dd8335a207736f1cbcd23ad92a9ab45ae7c16ca /modules/nixos/docker.nix
parent2024-02-21 (diff)
2024-02-29
Diffstat (limited to '')
-rw-r--r--modules/nixos/docker.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/docker.nix b/modules/nixos/docker.nix
index 3b38ff1..0795386 100644
--- a/modules/nixos/docker.nix
+++ b/modules/nixos/docker.nix
@@ -13,7 +13,7 @@ in {
   config = mkIf cfg.enable {
     assertions = [
       {
-        assertion = !config.nixfiles.modules.podman.enable;
+        assertion = cfg.enable -> !config.nixfiles.modules.podman.enable;
         message = "Pick only one!";
       }
     ];

Consider giving Nix/NixOS a try! <3