forked from pub-solar/infra
fix: add nix registry setting to speed up ad-hoc flake
usage, e.g. via nix shell nixpkgs#<flake-name>
This commit is contained in:
parent
0e83deff1b
commit
38a6e5e084
|
@ -14,6 +14,12 @@
|
|||
gc.automatic = true;
|
||||
optimise.automatic = true;
|
||||
|
||||
registry = {
|
||||
nixpkgs.flake = flake.inputs.nixpkgs;
|
||||
unstable.flake = flake.inputs.unstable;
|
||||
system.flake = flake.self;
|
||||
};
|
||||
|
||||
settings = {
|
||||
# Improve nix store disk usage
|
||||
auto-optimise-store = true;
|
||||
|
|
Loading…
Reference in a new issue