diff --git a/common/configuration.nix b/common/configuration.nix index d119db2..4dc5bb6 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -49,4 +49,27 @@ users.users.root = { #Enable flakes nix.settings.experimental-features = "nix-command flakes"; + +nix.settings = { + substituters = [ + "http://nix-cache" + "https://cache.nixos.org/" + ]; + trusted-public-keys = [ + "nix-ccache-1:" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + ]; +}; + +{ + programs.git = { + enable = true; + package = pkgs.git.override { withLibsecret = true; }; + extraConfig = { + credential.helper = "libsecret"; + }; + }; +} + + } \ No newline at end of file