home-manager/modules
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
..
accounts accounts.email: add clarifying documentation 2024-06-04 20:23:39 +02:00
config home-cursor: fix typo in XDG data directory link 2023-11-07 09:21:58 +01:00
files files: make collision error message more helpful 2024-04-30 00:41:45 +02:00
i18n/input-method kime: remove documentation dependency on config 2024-03-18 22:13:07 +01:00
launchd treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
lib fastfetch: add module 2024-05-10 12:42:39 +02:00
lib-bash home-manager: fix nix-build option -q 2024-03-22 19:46:20 +01:00
misc nix: add a declarative alternative to Nix channels (#4031) 2024-06-13 01:47:38 +00:00
po Translate using Weblate (Vietnamese) 2024-06-02 10:15:15 +02:00
programs mpv: fix package if wrapMpv not found 2024-06-11 23:35:34 +02:00
services hyprland: install xwayland if enabled 2024-06-09 13:11:01 +02:00
targets darwin: misc defaults (dock, menu clock, finder) 2024-05-11 00:04:45 +02:00
default.nix home-manager: set module class to "homeManager" 2024-04-27 09:28:21 +02:00
files.nix home-manager: extract inline shell script to file 2024-04-06 10:04:27 +02:00
home-environment.nix home-environment: fix formatting 2024-03-28 12:33:23 +01:00
manual.nix docs: add style sheets and scrubDerivations 2024-02-01 01:10:58 +01:00
modules.nix yambar: add module 2024-05-10 23:29:58 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh home-manager: remove the export of run 2024-01-28 10:53:09 +01:00
systemd.nix systemd: add enable option 2024-04-16 21:12:47 +02:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix xsession: allow xplugd to restart on failure 2024-01-16 08:07:00 +01:00