about summary refs log tree commit diff
path: root/modules/nixos/podman.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/podman.nix
parent2024-02-21 (diff)
2024-02-29
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