From a0aa1849b5f8467b725de4d1331997a5aa077227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 11 Jul 2024 13:21:54 +0200 Subject: [PATCH] Add cuda-maintainers from cachix --- hosts/gunter/configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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