about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-11-23 19:08:57 +1300
committerDaniel Hill <daniel@gluo.nz>2023-11-23 19:08:57 +1300
commit34a58ce86ff61f35c839f8f776036259d59e3c84 (patch)
treed863c3a3358ae5f52f106ab215e5ed9b9d1ae9d0 /nixos/modules/tasks
parent4b9a194b2d67ae7ff5265700fc424cf32f371135 (diff)
downloadnixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar.gz
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar.bz2
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar.lz
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar.xz
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.tar.zst
nixlib-34a58ce86ff61f35c839f8f776036259d59e3c84.zip
bcachefs: fix lib.kernel.option miss use.
option is a function not a set.
Diffstat (limited to 'nixos/modules/tasks')
-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 d144ce62dc27..c002a4fee116 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)
           ]
         )
       );