nixpkgs/nixos/modules
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
..
config nixos/nix-channel.nix: shellcheck and fix the activation check 2024-07-28 11:31:42 +00:00
hardware nixos/hardware/printers: fix ppdOptions of ensured printers 2024-06-02 15:59:27 +00:00
i18n/input-method nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
image nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
installer Update nixos/modules/installer/tools/nix-fallback-paths.nix 2024-07-14 20:06:56 +02:00
misc nixos/locate: drop with lib{,.types}, misc cleanup 2024-06-11 13:48:30 +00:00
profiles profiles/qemu_guest: add virtio_gpu to initrd 2024-07-09 15:56:30 +02:00
programs nixos/hyprland: set systemd environment PATH for versions < 0.41.2 2024-08-19 10:32:27 +05:30
security nixos/polkit: Add package option 2024-06-26 09:43:05 +00:00
services Merge pull request #331273 from NixOS/backport-325639-to-release-24.05 2024-08-14 16:08:23 +02:00
system nixos/systemd/initrd: Fix emergencyAccess to work with null. 2024-08-21 22:42:12 +00:00
tasks nixos/clevis: add support for parent encrypted zfs datasets 2024-06-24 18:48:25 +00:00
testing nixos/tests: set non-conflicting priority for logrotate disabling 2024-05-10 16:25:51 +03:00
virtualisation Merge pull request #327380 from NixOS/backport-321010-to-release-24.05 2024-08-21 15:07:44 +05:30
module-list.nix nixos/open-webui: init 2024-08-05 06:44:34 +00:00
rename.nix treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00