nixpkgs/nixos/modules
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
..
config nixos/console: fix cross-compiling 2021-10-20 02:15:09 +02:00
hardware Merge pull request #142433 from aanderse/flirc 2021-11-02 22:55:41 -04:00
i18n/input-method nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
installer nixos/nixos-enter: bind mount /etc/resolv.conf to chroot 2021-10-30 18:46:14 +03:00
misc kippo: cleanup the corresponding broken module. 2021-10-08 14:10:49 +08:00
profiles NixOS AWS AMI: enable the serial console on ttyS0 2021-08-20 12:42:02 -04:00
programs nixos/neovim: Respect option defaultEditor 2021-10-28 18:51:44 +02:00
security Merge master into staging-next 2021-10-27 06:01:21 +00:00
services Merge pull request #136191 from LeSuisse/nixos-unifi-poller-loki 2021-11-03 08:25:13 +01:00
system stage2: use atomic bind mounts 2021-11-01 20:12:59 -07:00
tasks nixos/zfs: replace parentheses with braces 2021-11-03 04:59:46 -04:00
testing nixos/lib/qemu-flags: rename to qemu-common 2021-09-18 16:58:16 +02:00
virtualisation nixos/lxd: fix nftables switch #81172 breaking module 2021-11-03 07:41:40 +01:00
module-list.nix Merge pull request #144172 from mkg20001/odoo 2021-11-03 03:59:44 +01:00
rename.nix Merge pull request #140820 from VergeDX/kippo-remove 2021-10-11 17:19:11 +08:00