about summary refs log tree commit diff
path: root/modules/nixos/podman.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/podman.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/podman.nix b/modules/nixos/podman.nix
index 60f208e..5e369a6 100644
--- a/modules/nixos/podman.nix
+++ b/modules/nixos/podman.nix
@@ -13,7 +13,7 @@ in {
   config = mkIf cfg.enable {
     assertions = [
       {
-        assertion = !config.nixfiles.modules.docker.enable;
+        assertion = cfg.enable -> !config.nixfiles.modules.docker.enable;
         message = "Pick only one!";
       }
     ];

Consider giving Nix/NixOS a try! <3