null will not set owner, allowing any user to access the virtual
device. Previously, this behavior can be achieved by using
systemd.network.netdevs.* options direcly and leaving
systemd.network.netdevs.<name>.tapConfig.User unset. With this patch,
this behavior can be achieved using the generic
networking.interfaces.* options by setting
networking.interfaces.<name>.virtualOwner to null.
If needed, we can change the default value from "root" to null in the
future to be consistent with systemd-networkd's default behavior.
iw and wirelesstools (iwconfig, iwlist, etc.) are not required by
networking.wireless and rarely used manually, so they should not be
installed by default.
The canonical names of kernel crypto modules are not stable across
versions. Use the algorithm names from btrfs softdeps instead, which
the kernel will resolve to the appropriate modules.
Previously: xxhash_generic, blake2b_generic, sha256_generic
Now: xxhash64, blake2b-256, sha256
This fixes initrd builds on kernel 6.19+ where blake2b_generic was
renamed to blake2b, and is more resilient to future module renames.
See: https://github.com/torvalds/linux/blob/v6.19-rc1/fs/btrfs/super.c#L2705-L2708
load zfs key from clevis for any dataset that is configured, not just
those needed for boot
also works for dual keys, e.g. those with a clevis key, and a zfs
keylocation of `file:///` (previously it would error if the zfs
keylocation was not `prompt`)
This is a follow-up for #460057 to completely remove all mentions of nixos.org/channels/.
The following command was used to generate this change:
```
find . -type f -exec sed -i 's|nixos.org/channels/|channels.nixos.org/|g' {} +
```
* A dns_resolver entry is needed for a NFSv4 client to
resolve hostnames of NFS referrals and replicas.
* Make request-key.conf customizable, by moving
content from separate file into
`environment.etc."request-key.conf".text`
```
error: A definition for option `boot.initrd.systemd.extraBin.mount' is not of type `absolute path'. Definition values:
- In `/nix/store/h259dzilgbvpfsnlcyims14jrcdnx8fk-source/nixos/modules/tasks/filesystems/zfs.nix':
{
zfs = "/nix/store/hxg3s5l92y9n9m48p872i62dn5ck33hx-zfs-user-2.4.0-rc3/sbin/mount.zfs";
}
```
Fixes https://github.com/NixOS/nixpkgs/pull/414391#issuecomment-3448084329