nixpkgs/nixos/modules/tasks/filesystems
Cole Helbling 516b49155e nixos/zfs: replace parentheses with braces
The parentheses prevent the `continue` line from working by running the
enclosed in a subshell -- I noticed that ZFS would start asking me for
my password to encrypted child datasets, even though they were not
specified in `requestEncryptionCredentials`. The following logs would
also be present in the import unit's journal:

    Oct 31 22:13:17 host systemd[1]: Starting Import ZFS pool "pool"...
    Oct 31 22:13:44 host zfs-import-pool-start[3711]: importing ZFS pool "pool"...
    Oct 31 22:13:44 host zfs-import-pool-start[4017]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop
    Oct 31 22:13:44 host zfs-import-pool-start[4020]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop
    Oct 31 22:15:14 host zfs-import-pool-start[4023]: Failed to query password: Timer expired
    Oct 31 22:15:14 host zfs-import-pool-start[4024]: Key load error: encryption failure
    Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Main process exited, code=exited, status=255/EXCEPTION
    Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Failed with result 'exit-code'.
    Oct 31 22:15:14 host systemd[1]: Failed to start Import ZFS pool "pool".
2021-11-03 04:59:46 -04:00
..
bcachefs.nix bcachefs: add sha256 kernel module 2020-12-25 21:28:50 +01:00
btrfs.nix nixos/btrfs: handle new checksum types in initrd (#126158) 2021-07-06 09:57:10 -04:00
cifs.nix
ecryptfs.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
exfat.nix nixos/filesystems/exfat: use "exfatprogs" instead of "exfat" if kernel > 5.7 2021-08-24 03:31:41 +10:00
ext.nix nixos ISO image: revert another part of 8ca33835ba 2021-01-13 15:25:19 +01:00
f2fs.nix nixos/f2fs: fixed autoresize check 2018-06-19 14:31:06 +03:00
glusterfs.nix
jfs.nix
nfs.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
ntfs.nix
reiserfs.nix
unionfs-fuse.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
vboxsf.nix nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
vfat.nix
xfs.nix nixos/xfs: Add xfs_repair to the initrd 2019-07-30 09:28:34 +02:00
zfs.nix nixos/zfs: replace parentheses with braces 2021-11-03 04:59:46 -04:00