about summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2022-05-04 18:32:27 -0400
committerWill Fancher <elvishjerricco@gmail.com>2022-05-04 18:32:27 -0400
commitf989e13983fd1619f723b42ba271fe0b781dd24b (patch)
tree275e6e0a1ef0a6574b42b79aad4af71dd85c5246 /nixos/modules/tasks/filesystems
parente0b5ba54798162d18ce2dbc42911f18facae1707 (diff)
downloadnixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar.gz
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar.bz2
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar.lz
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar.xz
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.tar.zst
nixlib-f989e13983fd1619f723b42ba271fe0b781dd24b.zip
zfs: Support zfs_force=y on the command line as well.
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/zfs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 3bc05f56dc36..c8bbfe9769b2 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -60,7 +60,7 @@ let
   importLib = {zpoolCmd, awkCmd, cfgZfs}: ''
     for o in $(cat /proc/cmdline); do
       case $o in
-        zfs_force|zfs_force=1)
+        zfs_force|zfs_force=1|zfs_force=y)
           ZFS_FORCE="-f"
           ;;
       esac