mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-21 17:59:39 +01:00
* 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>
8 lines
304 B
Nix
8 lines
304 B
Nix
{
|
|
nix-empty-settings = ./empty-settings.nix;
|
|
nix-example-settings = ./example-settings.nix;
|
|
nix-example-registry = ./example-registry.nix;
|
|
nix-keep-old-nix-path = ./keep-old-nix-path.nix;
|
|
nix-example-channels = ./example-channels.nix;
|
|
nix-example-channels-xdg = ./example-channels-xdg.nix;
|
|
}
|