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:
teutat3s 2023-11-16 22:05:04 +01:00
parent 0e83deff1b
commit 38a6e5e084
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -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;