about summary refs log tree commit diff
path: root/modules/nixos/docker.nix
diff options
context:
space:
mode:
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