From be6e522cbc40019d66d968cc55092c807db59a1d Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Sun, 24 Mar 2024 09:05:29 +0100 Subject: [PATCH] fix: do not download global-registry.json on every nix command... --- hosts/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 65bdef1..5b23cd4 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -71,6 +71,7 @@ security.polkit.enable = true; fonts.packages = with pkgs; [ # Fonts + inter ubuntu_font_family fira-code roboto @@ -161,6 +162,8 @@ settings = { connect-timeout = 5; + flake-registry = builtins.toFile "global-registry.json" ''{"flakes":[],"version":2}''; + auto-optimise-store = true; # Optimise syslinks substituters = [ "https://cache.nixos.org" -- 2.48.1