Commit graph

2 commits

Author SHA1 Message Date
Maximilian Bosch
da2c826e1a
nixos/tests/systemd-sysusers-password-option-override-ordering: clarify SetCredential check
It was kinda weird to assert that the clear-text password was
in the unit when the hashed password was the effective one.

This change makes it explicit that both are in there and the latter
takes precedence.
2024-12-22 15:35:41 +01:00
fidgetingbits
b84fb1e5cd
nixos/tests: Add two new tests for password option override ordering
This commit adds two new tests to show that the ordering of password
overrides documentation in nixos/modules/config/user-groups.nix is
correct. The override behavior differs depending on whether a system
has systemd-sysusers enabled, so there are two tests.
2024-12-15 12:22:02 +08:00