about summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2022-10-04 20:40:59 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2022-10-06 19:26:13 +0000
commita72e138b78c884e56a30da0340f700c6928d400d (patch)
treef4401163ef0dc47b7b3f7e2a496196ad308d6e14 /nixos/modules/tasks/filesystems
parentc72f22fd77c9c6b69b3bce0378c29d365a46862d (diff)
downloadnixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar.gz
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar.bz2
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar.lz
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar.xz
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.tar.zst
nixlib-a72e138b78c884e56a30da0340f700c6928d400d.zip
nixos/jfs: correct broken toplevel reference
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/jfs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/jfs.nix b/nixos/modules/tasks/filesystems/jfs.nix
index 700f05af2bec..6d80c4c657da 100644
--- a/nixos/modules/tasks/filesystems/jfs.nix
+++ b/nixos/modules/tasks/filesystems/jfs.nix
@@ -12,7 +12,7 @@ in
 
     boot.initrd.kernelModules = mkIf inInitrd [ "jfs" ];
 
-    boot.initrd.extraUtilsCommands = mkIf (inInitrd && !boot.initrd.systemd.enable) ''
+    boot.initrd.extraUtilsCommands = mkIf (inInitrd && !config.boot.initrd.systemd.enable) ''
       copy_bin_and_libs ${pkgs.jfsutils}/sbin/fsck.jfs
     '';
   };