diff --git a/default.nix b/default.nix index 8c674290..069b7f53 100644 --- a/default.nix +++ b/default.nix @@ -24,8 +24,17 @@ outputs.nixosModules.security ]; - # flakes - nix.settings.experimental-features = ["nix-command" "flakes"]; + # nix settings that should 100% be global + #nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + experimental-features = ["nix-command" "flakes"]; + substituters = [ + "https://cache.garnix.io" + ]; + trusted-public-keys = [ + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + ]; + }; # import the overlays nixpkgs = {