!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

199 Members
Gaming things, my hands are typing words.79 Servers

Load older messages


SenderMessageTime
20 Oct 2024
@k900:0upti.meK900 I guess we can set passthru.is32BitTrustMeBro = true 20:36:35
@k900:0upti.meK900
In reply to@atemu12:matrix.org
Oh neat idea we could make drivers have a drivers output/attr (that was in my original design anyways) and then make the nvidia package expose that attr in this way
But that won't let you make it arch specific
20:37:05
@k900:0upti.meK900Is the problem20:37:07
@k900:0upti.meK900Like the problem with Nvidia is that we can't get from root pkgs to the correct Nvidia just by attrpath20:38:09
@k900:0upti.meK900No adding of outputs changes that20:38:38
@atemu12:matrix.orgAtemu Hm, and we're selecting it from some variable too, not a pkgs attr 20:38:50
@k900:0upti.meK900Yep20:38:56
@k900:0upti.meK900 Unless we change hardware.nvidia to take a version string 20:39:14
@k900:0upti.meK900Instead of a package name20:39:16
@k900:0upti.meK900But that's so fucked up20:39:28
@k900:0upti.meK900And I don't want to own that change20:39:33
@k900:0upti.meK900Or anything else Nvidia related for that matter20:40:20
@atemu12:matrix.orgAtemu Okay perhaps instead of a drivers attr, perhaps we could make them have a driversFor function that takes a system and returns a drivers attr 20:40:30
@k900:0upti.meK900Doing that just for Nvidia though20:40:59
@atemu12:matrix.orgAtemu OTOH we might have a hardware.drivers.mesa.package option too 20:41:02
@atemu12:matrix.orgAtemuYeah20:41:03
@k900:0upti.meK900 hardware.drivers.mesa.package should just be a function the same way 20:41:35
@k900:0upti.meK900If we ever get one20:41:37
@k900:0upti.meK900Because for Mesa we can just do that20:41:51
@k900:0upti.meK900Because there's no coupling to the kernel20:41:57
@k900:0upti.meK900Hmm20:42:08
@k900:0upti.meK900I wonder if we can flip it around20:42:12
@k900:0upti.meK900 So we have hardware.nvidia.package = pkgs: pkgs.nvidia_550 20:42:37
@k900:0upti.meK900 And then we add (config.hardware.nvidia.package pkgs).kmod to `boot.kernelPackages 20:42:56
@k900:0upti.meK900 And then we add (config.hardware.nvidia.package pkgs).kmod to boot.kernelPackages 20:42:59
@k900:0upti.meK900And now that I think about it nope also doesn't work20:43:10
@k900:0upti.meK900Because it needs a matching kernel20:43:18
@atemu12:matrix.orgAtemuThat wouldn't allow adding arbitrary drvs either20:43:23
@k900:0upti.meK900Well they'd have to be nvidia-shaped20:43:36
@atemu12:matrix.orgAtemuOf course20:43:43

Show newer messages


Back to Room ListRoom Version: 10