home-manager/modules
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
..
accounts email: allow null certificatesFile 2021-08-10 00:12:13 +02:00
config Move platform check into modules 2021-07-18 20:43:22 +02:00
i18n/input-method Replace usage of literalExample 2021-10-13 00:16:10 +02:00
lib modules: remove myself from maintainers.nix 2021-10-13 12:33:52 -03:00
lib-bash home-environment: use declare -gr in activation init 2021-07-27 23:50:33 +02:00
misc nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
programs Replace usage of literalExample 2021-10-13 00:16:10 +02:00
services Replace usage of literalExample 2021-10-13 00:16:10 +02:00
targets generic-linux: add system fpaths for zsh 2021-09-07 23:47:49 +02:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: clarify "Please move the above files" message 2021-09-15 00:25:00 +02:00
home-environment.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
manual.nix docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
modules.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xcursor.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00