nixpkgs/nixos/modules/tasks/filesystems
Andrew Marshall 4ed27101c6 nixos/zfs: fix not auto-importing pools without any fileSystems
`lib.all (_: false) [ ]` is `true`, which is not the semantics we want
here, and interacts poorly with `boot.zfs.extraPools` where
`getPoolFilesystems` may return `[]`. So explicitly handle this case.
This does mean there isn’t a straightforward way to disable auto-import
with `extraPools` and no associated `fileSystems` while keeping the unit
around, but that’s probably okay for now.

See https://github.com/NixOS/nixpkgs/issues/364995.
Broken in 7f8278a264.
2024-12-13 19:02:30 -05:00
..
apfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
bcachefs.nix nixos/bcachefs: support unlock with clevis in systemd stage 1 2024-04-05 14:39:11 +00:00
btrfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
cifs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
ecryptfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
envfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
erofs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
exfat.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
ext.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
f2fs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
glusterfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
jfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
nfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
ntfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
overlayfs.nix overlayfs: Assert that upperdir == null requires systemd initrd 2024-08-30 15:18:36 -04:00
reiserfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
squashfs.nix nixos/filesystems: make supportedFilesystems an attrset 2024-02-19 11:46:52 +01:00
sshfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
unionfs-fuse.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
vboxsf.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
vfat.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
xfs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
zfs.nix nixos/zfs: fix not auto-importing pools without any fileSystems 2024-12-13 19:02:30 -05:00