nixos-config

NixOS configs for my systems
Log | Files | Refs

commit cc5695144d5be88856543b180c5f6f1051ea2bec
parent 46848d4dfebaf6e04a865d30fddb4faafea47852
Author: vin <vin@vineetk.net>
Date:   Tue,  1 Apr 2025 22:00:39 -0400

demiurge: uh

Diffstat:
Mflake.lock | 24++++++++++++------------
Mhosts/demiurge/default.nix | 17+++++++++++++++--
Mhosts/demiurge/hardware.nix | 2+-
3 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -163,11 +163,11 @@ ] }, "locked": { - "lastModified": 1742246081, - "narHash": "sha256-1e4oFbtdOOb6NqauHevWWjEUXZnfZ6RUAJJjn9i4YBc=", + "lastModified": 1743556466, + "narHash": "sha256-rvU79DJ6rPDxiH0sTp686Vlm+JewwAZPGcwt8OfHJbM=", "owner": "nix-community", "repo": "home-manager", - "rev": "c657142e24a43ea1035889f0b0a7c24598e0e18a", + "rev": "5ee44bc7c2e853f144390a12ebe5174ad7e3b9e0", "type": "github" }, "original": { @@ -184,11 +184,11 @@ ] }, "locked": { - "lastModified": 1742259085, - "narHash": "sha256-95kracZRp8nsFy8AEG4q3j+hXjgKpfA5S3w4gBOuxwM=", + "lastModified": 1743543845, + "narHash": "sha256-JabannLlz3nFSdF/VBKoLsSGzyfQQoajfV6KKBBno7c=", "owner": "ggml-org", "repo": "llama.cpp", - "rev": "a53f7f7b8859f3e634415ab03e1e295b9861d7e6", + "rev": "267c1399f15a278ec8c3cdcf9c90dc94151fbc38", "type": "github" }, "original": { @@ -214,11 +214,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1742230170, - "narHash": "sha256-BEny83HblVcCGgSG3NHljafuWQE6+yP8XNUIydsIyoA=", + "lastModified": 1743515758, + "narHash": "sha256-UdPdn4LYmyW9bYzV+hGCMGJUU8y8ySq1Ag5gIjzErrE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0f80da4f5e0dbe1f917f6f3643a262bae7dbb34e", + "rev": "a18002797a7128bfc247a090b6c2349b4a1877f7", "type": "github" }, "original": { @@ -275,11 +275,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1742136038, - "narHash": "sha256-DDe16FJk18sadknQKKG/9FbwEro7A57tg9vB5kxZ8kY=", + "lastModified": 1743367904, + "narHash": "sha256-sOos1jZGKmT6xxPvxGQyPTApOunXvScV4lNjBCXd/CI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a1185f4064c18a5db37c5c84e5638c78b46e3341", + "rev": "7ffe0edc685f14b8c635e3d6591b0bbb97365e6c", "type": "github" }, "original": { diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix @@ -16,7 +16,9 @@ "cuda_cccl" "cuda_cudart" "cuda_nvcc" + "cudnn" "libcublas" + "libcufile" "quartus-prime-lite" "quartus-prime-lite-unwrapped" "steam" @@ -47,12 +49,19 @@ src = super.fetchFromGitHub { owner = "iv-org"; - repo = "inv-sig-helper"; + repo = "inv_sig_helper"; rev = "318e555b2b08921ec9262ef5b269548f0e806834"; - hash = "sha256-p1cbXYmKBoeXF4L9XKc5jc79KW8dxzDbjZiUSMJQDs8="; + hash = "sha256-NgowxT2EuOQxUvW5niM7rtNkdSkadlsiiOiqb9JDjdE="; }; cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q="; + + patches = old.patches ++ [( + super.fetchpatch { + url = "https://github.com/iv-org/inv_sig_helper/commit/c7be037599a9b547f567cc6ebd710c97ec6a5ba7.patch"; + hash = "sha256-oTq+Tv8PQjjA9Rli+nLQlUSqofTwWW2Cke5uv8gzBSg="; + } + )]; }); }) ]; @@ -159,6 +168,7 @@ rocmGpuTargets = "gfx1030"; }) (quartus-prime-lite.override { supportedDevices = [ "MAX 10 FPGA" ]; }) + #(vllm.override { cudaSupport = false; rocmSupport = true; gpuTargets = [ "gfx906" "gfx1100" ]; }) ]; }; @@ -248,6 +258,9 @@ FQsOJMjIvhTm2IiOS8xIaZz7EJORxFjtOkLEIGGZBNK6QcnD714/nYbHSrQx4eNM }; services = { + # control unicorn barf + hardware.openrgb.enable = true; + # dns dnsmasq = { enable = true; diff --git a/hosts/demiurge/hardware.nix b/hosts/demiurge/hardware.nix @@ -38,7 +38,7 @@ }; fileSystems."/data" = - { device = "zroot/data"; + { device = "nvme_warm"; fsType = "zfs"; options = [ "zfsutil" ]; };