diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-09 21:01:13 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-09 21:01:13 -0400 |
| commit | 832a4c08d44c220ef18f7e8e1b531aa6478fe712 (patch) | |
| tree | 20cc507a74588b223fa009ccba1a60fcf1d5ec2e /hosts | |
| parent | add port 8080 (diff) | |
| download | dotfiles-nix-832a4c08d44c220ef18f7e8e1b531aa6478fe712.tar.gz dotfiles-nix-832a4c08d44c220ef18f7e8e1b531aa6478fe712.tar.bz2 dotfiles-nix-832a4c08d44c220ef18f7e8e1b531aa6478fe712.zip | |
update commits
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/shinji/hardware.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/hosts/shinji/hardware.nix b/hosts/shinji/hardware.nix index 5a32364..ba4192c 100644 --- a/hosts/shinji/hardware.nix +++ b/hosts/shinji/hardware.nix @@ -64,16 +64,25 @@ }; open = true; nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; + package = let + pkg = config.boot.kernelPackages.nvidiaPackages.latest; + in pkg // { + open = pkg.open.overrideAttrs (finalAttrs: { + patches = (finalAttrs.patches or []) ++ [ + (pkgs.fetchpatch { + name = "linux-6.19"; + url = "https://raw.githubusercontent.com/CachyOS/CachyOS-PKGBUILDS/refs/heads/master/nvidia/nvidia-utils/kernel-6.19.patch"; + hash = "sha256-YuJjSUXE6jYSuZySYGnWSNG5sfVei7vvxDcHx3K+IN4="; + }) + ]; + }); + }; }; unfreePackages = [ "nvidia-x11" "nvidia-settings" ]; - # nvidia brokie - boot.kernelPackages = lib.mkForce pkgs.linuxPackages_6_18; - # luks device boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/ad489bfa-4280-44ea-8ad2-60347b516d60"; boot.initrd.luks.devices."swap".device = "/dev/disk/by-uuid/550e638d-eade-4d2f-aa39-c38774c91af3"; |