diff --git a/flake.nix b/flake.nix index 9b0ee3d..eee2f88 100644 --- a/flake.nix +++ b/flake.nix @@ -84,8 +84,8 @@ }; nixConfig.extra-substituters = [ + "https://nix-community.cachix.org?priority=1" # less is more /shrug "https://cuda-maintainers.cachix.org" - "https://nix-community.cachix.org" "https://nixos-rocm.cachix.org" "https://nixpkgs-unfree.cachix.org" "https://numtide.cachix.org" @@ -282,7 +282,7 @@ bjarte = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ ts nixld intel hw.lenovo-thinkpad-x1-7th-gen ]; bolle = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ au dns64 intel ]; eple = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ au tse dns64 intel rocm ]; - garp = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ au dns64 intel-novga cuda ]; + garp = mk "pbsds.net" "x86_64-linux" inputs-edge "24.05" [ au dns64 intel-novga cuda ]; hasselknippe= mk "pbsds.net" "aarch64-linux" inputs-2405 "24.05" [ ts hw.pine64-pinebook-pro ]; #gomperud smattkuken skrytebiffen skalkesnerken balleby bingus skjrlaltatjlstad #bergjlot snortheimsmoen ditlefsen skrukkerud podebusk zmaragd makrell alfnes blix urke pytte uddu imdorf rosenqvist diff --git a/hardware/gpu/cuda.nix b/hardware/gpu/cuda.nix index 3fcbdb2..557f3c5 100644 --- a/hardware/gpu/cuda.nix +++ b/hardware/gpu/cuda.nix @@ -22,6 +22,9 @@ (lib.hasInfix "cublas" (lib.toLower (lib.getName pkg))) ]; + programs.nix-required-mounts.enable = true; + programs.nix-required-mounts.presets.nvidia-gpu.enable = true; + # https://nixos.wiki/wiki/Nvidia hardware.opengl.extraPackages = [