From 8969d53cc60b5b73d4c4479895889e7f188ec36b Mon Sep 17 00:00:00 2001 From: caem Date: Fri, 22 Nov 2024 12:33:53 +0100 Subject: [PATCH] Add cuda support --- hosts/workstation/default.nix | 10 ++++++++++ modules/desktop/apps/multimedia.nix | 2 ++ 2 files changed, 12 insertions(+) diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index beacd37..b9d1270 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -75,11 +75,21 @@ }; nix = { + settings = { + substituters = [ + "https://cuda-maintainers.cachix.org" + ]; + trusted-public-keys = [ + "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" + ]; + }; extraOptions = '' experimental-features = nix-command flakes ''; }; + nixpkgs.config.cudaSupport = true; + system.stateVersion = "23.11"; } diff --git a/modules/desktop/apps/multimedia.nix b/modules/desktop/apps/multimedia.nix index e4f9f00..a8ec06c 100644 --- a/modules/desktop/apps/multimedia.nix +++ b/modules/desktop/apps/multimedia.nix @@ -29,6 +29,8 @@ inkscape krita tidal-hifi + blender + obs-studio ]; hardware.opentabletdriver = {