Nix: Use flake input as registry.
This commit is contained in:
parent
d0729d2148
commit
c56e5b670b
|
@ -1,6 +1,10 @@
|
||||||
{ ... }: {
|
{
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.config.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying.
|
nixpkgs.config.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying.
|
||||||
|
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-derivations = true;
|
keep-derivations = true;
|
||||||
|
|
Loading…
Reference in a new issue