1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-08 18:11:05 +01:00
home-manager/tests
Bernardo Meurer a521eab881 home-environment: add home.uid option
Add a home.uid option similar to home.username. When set, the
activation script verifies the current UID matches the expected
value using the new checkUid function.

When using the NixOS or nix-darwin modules, home.uid is
auto-discovered from users.users.<name>.uid when that value
is set.

This is useful for constructing paths that depend on the user's
UID, such as /run/user/<uid> paths for gpg-agent sockets or
other user-specific runtime directories.
2025-12-04 17:22:25 +01:00
..
integration dconf: support configuring specific user databases (#6301) 2025-11-30 14:37:17 +01:00
lib generators: rewrite toSCFG 2025-10-20 17:10:44 +02:00
modules home-environment: add home.uid option 2025-12-04 17:22:25 +01:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix ludusavi: add test 2025-12-02 21:57:23 -06:00
default.nix tests: disable release check bypass 2025-11-28 14:27:50 -06:00
flake.nix tests: rename test-all-* tests 2025-09-28 16:26:13 -05:00
package.nix tests: explicitly define NIX_CONFIG 2025-11-01 14:29:06 -05:00
stubs.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
tests.py tests: improve debugging for failed test runs 2025-09-28 16:28:05 -05:00