!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

612 Members
Gaming things, my hands are typing words.165 Servers

Load older messages


SenderMessageTime
25 Jun 2026
@neobrain:matrix.orgneobrain MYENV=somevalue %command% 08:23:03
@marienz:matrix.orgmarienzI don't think there's a way around having to do that for each game08:23:03
@marienz:matrix.orgmarienz(no default launch options for all games that don't have per-game options set)08:23:49
@marienz:matrix.orgmarienzSo it's a little annoying (but does work)08:24:08
@magic_rb:matrix.redalder.orgmagic_rb

I wish steam had a better api for this:

  1. List games
  2. Set launch options

It would make things easier for a lot of linux folks

09:34:09
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) I've once saw a project which let you do something like that as a nixos module. 10:01:04
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) It seemed hacky. 10:01:13
@marienz:matrix.orgmarienzI'd be curious how they managed it (I can't really think of a way short of replacing the /bin/sh Steam sees with something that checks whether it's being invoked by Steam)10:03:47
@magic_rb:matrix.redalder.orgmagic_rbThey edit steams vdf database, which means steam cant running when you do it10:38:17
@magic_rb:matrix.redalder.orgmagic_rbVery impractical10:38:32
@marienz:matrix.orgmarienz ah, I see. https://github.com/ValveSoftware/steam-for-linux/issues/3453 looks like the relevant upstream feature request (and someone in there mentions sed-ing localconfig.vdf, presumably same approach you're describing) 10:40:39
@magic_rb:matrix.redalder.orgmagic_rbYeah its truly a shame there isnt a api for this :( next year when i go to xdc ill convince one of the valve contractors to push the idea within valve. Cant hurt to try10:42:00
@marienz:matrix.orgmarienz Looks like I missed that nixpkgs+NixOS already had a hook for this. Assuming you're using the NixOS steam module, try adding programs.steam.extraPackages = pkgs: [ pkgs.gamescope ] (...it's even the example in https://search.nixos.org/options?channel=26.05&query=steam.extraPackages#show=option%253Aprograms.steam.extraPackages ) 11:14:54
@marienz:matrix.orgmarienz err, sorry, that should've been just programs.steam.extraPackages = [pkgs.gamescope] 11:19:10
@marienz:matrix.orgmarienz * err, sorry, that should've been just programs.steam.extraPackages = [ pkgs.gamescope ] 11:19:25
@makuru:catgirl.cloudMakuru awawawwawa 11:59:30
@ranidspace:4d2.orgranidspace (they/it/xe)awawawawawa13:20:48
@marienz:matrix.orgmarienz?13:22:09
@magic_rb:matrix.redalder.orgmagic_rbawawawawa13:24:57
@marie:marie.cologneMariemeow13:28:01
@magic_rb:matrix.redalder.orgmagic_rbWoof13:28:07
@matejc:matrix.matejc.commatejcnot sure what to think about this13:28:53
3 Apr 2024
@evils:nixos.devevils joined the room.22:53:45
@mtnash:matrix.fawkes.iomtnash joined the room.23:13:37
4 Apr 2024
@shados:nixos.devShados joined the room.02:16:38
@falaichte:techsaviours.orgFalaichte joined the room.03:37:50
@ian:graham.tokyoian joined the room.05:31:24
@aminda:pikaviestin.fiAminda.eu ⚧︎ (she/they) joined the room.06:07:16
@miangraham:matrix.orgmiangraham joined the room.07:28:45
@ironbound:hackerspace.plironbound joined the room.08:07:35

Show newer messages


Back to Room ListRoom Version: 10