nixpkgs/nixos/modules
Maximilian Bosch 7cb22a0acb
nixos/users-groups: dump values of password options if multiple options have definitions
This was suggested since it might make it a little easier to identify
the places where the definitions come from.

Retrieving the effective definitions from the module-system seems
non-trivial, especially for submodules though, hence only the values are
shown for now.

I'd argue that especially the `password` option are mostly a convenience
thing for test setups. If the password is an actual secret, it should be
treated as such, i.e. `hashedPasswordFile` should be used.

For the `shadow` VM test, the new section of the warning looks like
this:

    The values of these options are:
    * users.users."leo".hashedPassword: "$6$ymzs8WINZ5wGwQcV$VC2S0cQiX8NVukOLymysTPn4v1zJoJp3NGyhnqyv/dAf4NWZsBWYveQcj6gEJr4ZUjRBRjM0Pj1L8TCQ8hUUp0"
    * users.users."leo".hashedPasswordFile: null
    * users.users."leo".password: null
    * users.users."leo".initialHashedPassword: "!"
    * users.users."leo".initialPassword: null
2024-10-17 17:41:34 +02:00
..
config nixos/users-groups: dump values of password options if multiple options have definitions 2024-10-17 17:41:34 +02:00
hardware steam (and friends): migrate to by-name, small cleanups all over 2024-10-16 23:27:24 +03:00
i18n/input-method nixos/fcitx5: fix evaluation 2024-08-31 09:20:31 -04:00
image nixos/repart-verity-store: include original roothashes in repart-output.json 2024-09-30 22:45:05 +02:00
installer nixos/nix-fallback-paths: 2.24.8 -> 2.24.9 2024-10-14 13:00:57 +10:00
misc gogs: remove 2024-10-12 10:36:06 +02:00
profiles macos-builder: readd Nix CLI for debugging (#347205) 2024-10-08 09:58:17 +02:00
programs {nixos/gpu-screen-recorder,gpu-screen-recorder{-,gtk}}: update to 4.1.11, remove cap_sys_nice (#339874) 2024-10-15 02:16:59 +05:30
security nixos/pam: add pam_rssh support (#336609) 2024-10-10 15:11:28 +02:00
services nixos/redis: add option services.redis.servers.*.group (#345327) 2024-10-17 10:39:48 +02:00
system nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change 2024-10-16 17:42:58 +02:00
tasks nixos/{bcache,lvm}: enable when using systemd in stage 1 initrd (#343760) 2024-10-10 12:16:31 +05:30
testing nixos/testing: Fix tty output 2024-09-05 10:54:55 +02:00
virtualisation nixos/ec2-data: Make arianvp maintainer 2024-10-14 12:44:16 +02:00
module-list.nix nixos/zapret: init (#347805) 2024-10-15 20:37:40 +00:00
rename.nix unifi-video: drop 2024-10-01 15:58:19 +01:00