summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-11-23 19:08:57 +1300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-23 15:53:52 +0000
commit86b9120436fa1d51d1764b94afe93512b6636090 (patch)
treedc74264f64a9e21f6f1762cf0bd71fc8d48b347e /nixos
parent2835ea9eb6b601f098fcb03e3f2076dde02227a6 (diff)
bcachefs: fix lib.kernel.option miss use.
option is a function not a set.

(cherry picked from commit 34a58ce86ff61f35c839f8f776036259d59e3c84)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/filesystems/bcachefs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix
index d144ce62dc27e..c002a4fee116a 100644
--- a/nixos/modules/tasks/filesystems/bcachefs.nix
+++ b/nixos/modules/tasks/filesystems/bcachefs.nix
@@ -97,7 +97,7 @@ let
           lib.elem (kernel.structuredExtraConfig.BCACHEFS_FS or null) [
             lib.kernel.module
             lib.kernel.yes
-            lib.kernel.option.yes
+            (lib.kernel.option lib.kernel.yes)
           ]
         )
       );