1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-19 01:29:46 +01:00
home-manager/.github
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
..
ISSUE_TEMPLATE meta: github: fix issue template assignees 2021-07-23 23:45:37 +02:00
workflows ci: bump cachix/install-nix-action from 13 to 14 2021-09-13 01:12:40 +00:00
CODEOWNERS nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
dependabot.yml github: configure dependabot 2020-12-26 08:55:23 +01:00
PULL_REQUEST_TEMPLATE.md docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
stale.yml github: configure probot/stale 2021-04-29 00:03:28 +02:00