1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 01:48:31 +02:00
home-manager/modules/misc
Thiago Kenji Okada 223a4a17a4
nixpkgs-disabled: add module
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`).
2021-10-13 23:46:38 +02:00
..
dconf.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
debug.nix debug: add module 2020-03-07 15:03:44 +01:00
fontconfig.nix fontconfig: only remove directory if it exists 2021-10-06 15:02:34 +02:00
gtk.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
lib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
news.nix rofi: remove options removed from upstream in v1.7.0 2021-10-09 00:45:20 +02:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
numlock.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pam.nix pam: add note about future deprecation 2021-01-01 09:51:26 +01:00
qt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
submodule-support.nix doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
tmpfiles.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
version.nix docs: set current version to 21.11 2021-06-05 20:05:04 +02:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-mime-apps.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-mime.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-system-dirs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-user-dirs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xdg.nix xdg: coerce XDG base directories settings to strings 2021-09-21 21:29:44 +02:00