1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/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
..
qt kconfig: fix missing quoting 2024-04-22 17:21:19 +02:00
dconf.nix treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
debug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
editorconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fontconfig.nix fontconfig: add defaultFonts.* options 2024-05-10 18:48:17 +02:00
gtk.nix gtk: fix GTK 4 theme being ignored 2023-12-16 15:01:19 +01:00
lib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
news.nix nix: add a declarative alternative to Nix channels (#4031) 2024-06-13 01:47:38 +00:00
nix.nix nix: add a declarative alternative to Nix channels (#4031) 2024-06-13 01:47:38 +00:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
numlock.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
qt.nix qt: fix qt.platformTheme = "gtk3" 2024-04-21 15:53:39 +02:00
specialisation.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
submodule-support.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tmpfiles.nix tmpfiles: use only xdg.configFile 2023-08-31 14:18:55 +02:00
uninstall.nix home-manager: prepare release 24.05 2024-05-25 22:13:25 +02:00
version.nix version: allow 24.11 as state version 2024-05-23 09:07:00 +02:00
vte.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-desktop-entries.nix modules: types.string throws error now (#4324) 2023-08-08 17:00:24 +02:00
xdg-mime-apps.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-mime.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-portal.nix xdg-portal: improve description of enable option 2024-04-27 09:40:03 +02:00
xdg-system-dirs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-user-dirs.nix xdg-user-dirs: check for existing symlink 2024-03-07 17:29:26 +02:00
xdg.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xfconf.nix xfconf: fix config loading 2024-02-01 15:34:01 +01:00