diff --git a/hosts/gunter/configuration.nix b/hosts/gunter/configuration.nix index e3dc93d..aa9e062 100644 --- a/hosts/gunter/configuration.nix +++ b/hosts/gunter/configuration.nix @@ -119,8 +119,16 @@ }; # Enable flakes - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - nix.settings.trusted-users = [ "root" "torjus" ]; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + trusted-users = [ "root" "torjus" ]; + substituters = [ + "https://cuda-maintainers.cachix.org" + ]; + trusted-public-keys = [ + "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" + ]; + }; nixpkgs.config.allowUnfree = true; # Install system-wide packages