summaryrefslogtreecommitdiffstats
path: root/nixos
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
parentc72f22fd77c9c6b69b3bce0378c29d365a46862d (diff)
nixos/jfs: correct broken toplevel reference
Diffstat (limited to 'nixos')
-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
'';
};