nix-starter-configs/standard
Gabriel Fontes 3face7eddd set overlays through modules
This changes how the templates use nixpkgs. Before, we instantiated
nixpkgs in the flake and passd it directly to the configs; this was good
for consistency, but silently ignored `nixpkgs.*` options, generating
confusion among users. We now use modules to configure nixpkgs.

This should help avoid cases such as:
https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798/17

The drawback is that we can no longer test overlayed packages like so:
`nix build .#foo`, you can do it like so instead: `nix build
.#nixosConfigurations.your-system.pkgs.foo`.

Personally, I've been avoiding override packages globally in my own
config.
2022-11-05 14:43:53 -03:00
..
home-manager remove misleading nixpkgs.config.*, set allowUnfree by default 2022-10-07 09:22:41 -03:00
modules new version, with both templates on the same branch 2022-08-05 22:34:46 -03:00
nixos remove misleading nixpkgs.config.*, set allowUnfree by default 2022-10-07 09:22:41 -03:00
overlays set overlays through modules 2022-11-05 14:43:53 -03:00
pkgs new version, with both templates on the same branch 2022-08-05 22:34:46 -03:00
flake.lock set overlays through modules 2022-11-05 14:43:53 -03:00
flake.nix set overlays through modules 2022-11-05 14:43:53 -03:00
nixpkgs-config.nix set overlays through modules 2022-11-05 14:43:53 -03:00
shell.nix fix typos 2022-10-20 14:50:57 -05:00