common/nix: auto optimise, auto gc
This commit is contained in:
parent
bbaf7eb9e2
commit
583db61b3f
@ -17,7 +17,6 @@
|
|||||||
settings = {
|
settings = {
|
||||||
allow-dirty = true;
|
allow-dirty = true;
|
||||||
allowed-uris = [ "http://" "https://" ];
|
allowed-uris = [ "http://" "https://" ];
|
||||||
auto-optimise-store = true;
|
|
||||||
binary-caches = [ "https://cache.nixos.org/" ];
|
binary-caches = [ "https://cache.nixos.org/" ];
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
@ -30,6 +29,9 @@
|
|||||||
!include ${config.sops.secrets."nix/access-tokens".path}
|
!include ${config.sops.secrets."nix/access-tokens".path}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
optimise.automatic = true;
|
||||||
|
gc.automatic = true;
|
||||||
|
|
||||||
registry = {
|
registry = {
|
||||||
home.to = {
|
home.to = {
|
||||||
type = "path";
|
type = "path";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user