2.home-manager/tests/modules/misc/nix
Ryan Hendrickson 26dfad95d9 nix: add assumeXdg option
The use-xdg-base-directories Nix setting can be set globally in
/etc/nix/nix.conf, in which case Home Manager doesn't know about it.
Users could fix that by also setting it, redundantly, in `nix.settings`,
but then Nix issues a lot of spurious warnings about
use-xdg-base-directories being a restricted setting that untrusted users
can't pass on to the daemon.

As an alternative, users can now set `nix.assumeXdg`, which makes Home
Manager assume that use-xdg-base-directories is in effect without adding
it to the user's nix.conf file.
2026-02-13 15:28:13 -06:00
..
default.nix nix: add assumeXdg option 2026-02-13 15:28:13 -06:00
empty-settings.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
example-channels-xdg.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
example-channels.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
example-registry-expected.json nix: add structural settings (#2718) 2022-03-17 22:47:32 -04:00
example-registry.nix tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
example-settings-expected.conf nix: use-sandbox -> sandbox (#7475) 2025-07-15 10:22:11 -05:00
example-settings.nix nix: use-sandbox -> sandbox (#7475) 2025-07-15 10:22:11 -05:00
keep-old-nix-path.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
use-xdg.nix nix: add assumeXdg option 2026-02-13 15:28:13 -06:00