Commit graph

2 commits

Author SHA1 Message Date
Maximilian Bosch
d1ce5c501e 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.

(cherry picked from commit da2c826e1a)
2024-12-22 14:45:34 +00:00
fidgetingbits
71286bacb1 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.

(cherry picked from commit b84fb1e5cd)
2024-12-22 14:45:34 +00:00