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.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying.
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
nix.settings = {
|
||||
auto-optimise-store = true;
|
||||
keep-derivations = true;
|
||||
|
|
Loading…
Reference in a new issue