1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-24 03:59:46 +01:00
home-manager/tests/modules/misc
midchildan 8d5e27b480
nix: add a declarative alternative to Nix channels (#4031)
* nix: add options 'nixPath' and 'keepOldNixPath'

By default, the system value for $NIX_PATH is kept as a fallback.
To completely override the system value for $NIX_PATH:

    nix.keepOldNixPath = false;

* nix: add more tests

* nix: add a declarative alternative to Nix channels

This adds a new option, 'nix.channels'. It's the Nix channels equivalent
of the 'nix.registry' option, and compatible with pre-Flake Nix tooling
including nix-env and nix-shell. Like 'nix.registry', this option is
useful for pinning Nix channels.

Channels defined in the new option can coexist with channels introduced
through the nix-channel command. If the same channel exists in both, the
one from Home Manager will be prioritized.

* nix: add news entry

* nix: make channels respect use-xdg-base-directories

* nix: remove 'with lib;'

---------

Co-authored-by: Michael Hoang <enzime@users.noreply.github.com>
2024-06-13 01:47:38 +00:00
..
debug treewide: fix typos (#3618) 2023-01-24 11:30:04 +01:00
editorconfig editorconfig: add module (#3204) 2022-09-06 07:50:36 -06:00
fontconfig fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
gtk gtk: fix incorrect test assertion 2022-03-24 00:08:37 +01:00
manual docs: use .xhtml for appendices 2023-12-16 15:46:42 +09:00
nix nix: add a declarative alternative to Nix channels (#4031) 2024-06-13 01:47:38 +00:00
numlock tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pam pam: add yubico option 2021-12-16 19:46:47 +01:00
qt qt: use warnings API 2024-04-18 23:29:12 +02:00
specialisation specialisation: fix path 2023-06-13 08:51:05 +02:00
xdg xdg-portal: align with NixOS module 2024-03-20 23:41:55 +01:00
xsession xsession: cleanup systemd variables (#3636) 2023-05-07 23:59:56 +02:00