nixpkgs/nixos/modules/system
Eduard Bachmakov 987f6a5bf2 nixos/systemd/initrd: Fix emergencyAccess to work with null.
Implementation is now compatible with the option's .type already defined.

This allows us to pass `config.users.users.<user>.hashedPassword` even if this is null (the default).

Before:
true  => access
false => no access
hash  => access via password
null  => eval error

After:
true  => access
false => no access
hash  => access via password
null  => no access

(cherry picked from commit b33bf6b99a)
2024-08-21 22:42:12 +00:00
..
activation nixos/activation-script: Add lib.sh with warn() 2024-07-28 11:31:41 +00:00
boot nixos/systemd/initrd: Fix emergencyAccess to work with null. 2024-08-21 22:42:12 +00:00
etc nixos/etc: support direct symlinks with etc overlay 2024-06-22 16:42:37 +00:00
build.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00