223a4a17a4
This commit introduces the `nixpkgs-disabled` module, that is basically a mock of `nixpkgs` module where any value different from `null` will cause an assertion error. This is to help debugging cases where `home-manager.useGlobalPkgs` is set to `true` and `nixpkgs.*` options are being used. Nowadays this returns the following error: ``` error: The option `home-manager.users.<user>.nixpkgs` does not exist. ``` This will change too: ``` error: `nixpkgs` options are disabled when `home-manager.useGlobalPkgs` is enabled. ``` That will direct the user to the correct solution (either removing `nixpkgs` or disable `home-manager.useGlobalPkgs`). |
||
---|---|---|
.. | ||
dconf.nix | ||
debug.nix | ||
fontconfig.nix | ||
gtk.nix | ||
lib.nix | ||
news.nix | ||
nixpkgs-disabled.nix | ||
nixpkgs.nix | ||
numlock.nix | ||
pam.nix | ||
qt.nix | ||
submodule-support.nix | ||
tmpfiles.nix | ||
version.nix | ||
vte.nix | ||
xdg-desktop-entries.nix | ||
xdg-mime-apps.nix | ||
xdg-mime.nix | ||
xdg-system-dirs.nix | ||
xdg-user-dirs.nix | ||
xdg.nix |