2.home-manager/tests/modules/home-environment/uid.nix
Robert Helgesson 27b60942b7 home-manager: refactor activation checks
This is mainly to unify the error messages for more convenient and
consistent translation. Also allows somewhat more convenience if
additional checks are needed.
2026-01-21 13:14:01 +01:00

7 lines
116 B
Nix

{
home.uid = 1000;
nmt.script = ''
assertFileContains activate 'checkStringEq UID "$(id -u)" 1000'
'';
}