summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/demiurge/default.nix17
-rw-r--r--hosts/demiurge/hardware.nix2
2 files changed, 16 insertions, 3 deletions
diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix
index 4ae0870..98159be 100644
--- a/hosts/demiurge/default.nix
+++ b/hosts/demiurge/default.nix
@@ -16,7 +16,9 @@
16 "cuda_cccl" 16 "cuda_cccl"
17 "cuda_cudart" 17 "cuda_cudart"
18 "cuda_nvcc" 18 "cuda_nvcc"
19 "cudnn"
19 "libcublas" 20 "libcublas"
21 "libcufile"
20 "quartus-prime-lite" 22 "quartus-prime-lite"
21 "quartus-prime-lite-unwrapped" 23 "quartus-prime-lite-unwrapped"
22 "steam" 24 "steam"
@@ -47,12 +49,19 @@
47 49
48 src = super.fetchFromGitHub { 50 src = super.fetchFromGitHub {
49 owner = "iv-org"; 51 owner = "iv-org";
50 repo = "inv-sig-helper"; 52 repo = "inv_sig_helper";
51 rev = "318e555b2b08921ec9262ef5b269548f0e806834"; 53 rev = "318e555b2b08921ec9262ef5b269548f0e806834";
52 hash = "sha256-p1cbXYmKBoeXF4L9XKc5jc79KW8dxzDbjZiUSMJQDs8="; 54 hash = "sha256-NgowxT2EuOQxUvW5niM7rtNkdSkadlsiiOiqb9JDjdE=";
53 }; 55 };
54 56
55 cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q="; 57 cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q=";
58
59 patches = old.patches ++ [(
60 super.fetchpatch {
61 url = "https://github.com/iv-org/inv_sig_helper/commit/c7be037599a9b547f567cc6ebd710c97ec6a5ba7.patch";
62 hash = "sha256-oTq+Tv8PQjjA9Rli+nLQlUSqofTwWW2Cke5uv8gzBSg=";
63 }
64 )];
56 }); 65 });
57 }) 66 })
58 ]; 67 ];
@@ -159,6 +168,7 @@
159 rocmGpuTargets = "gfx1030"; 168 rocmGpuTargets = "gfx1030";
160 }) 169 })
161 (quartus-prime-lite.override { supportedDevices = [ "MAX 10 FPGA" ]; }) 170 (quartus-prime-lite.override { supportedDevices = [ "MAX 10 FPGA" ]; })
171 #(vllm.override { cudaSupport = false; rocmSupport = true; gpuTargets = [ "gfx906" "gfx1100" ]; })
162 ]; 172 ];
163 }; 173 };
164 174
@@ -248,6 +258,9 @@ FQsOJMjIvhTm2IiOS8xIaZz7EJORxFjtOkLEIGGZBNK6QcnD714/nYbHSrQx4eNM
248 }; 258 };
249 259
250 services = { 260 services = {
261 # control unicorn barf
262 hardware.openrgb.enable = true;
263
251 # dns 264 # dns
252 dnsmasq = { 265 dnsmasq = {
253 enable = true; 266 enable = true;
diff --git a/hosts/demiurge/hardware.nix b/hosts/demiurge/hardware.nix
index 29bea40..b075bb4 100644
--- a/hosts/demiurge/hardware.nix
+++ b/hosts/demiurge/hardware.nix
@@ -38,7 +38,7 @@
38 }; 38 };
39 39
40 fileSystems."/data" = 40 fileSystems."/data" =
41 { device = "zroot/data"; 41 { device = "nvme_warm";
42 fsType = "zfs"; 42 fsType = "zfs";
43 options = [ "zfsutil" ]; 43 options = [ "zfsutil" ];
44 }; 44 };