!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

445 Members
Gaming things, my hands are typing words.128 Servers

Load older messages


SenderMessageTime
14 Aug 2025
@k900:0upti.meK900 As in, use steam-run first to enter the container 17:24:53
@k900:0upti.meK900 And then bash -x the actual script 17:25:00
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Okey.17:25:09
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) You mean doing steam-run bash -x steam? 17:26:25
@k900:0upti.meK900No17:27:08
@k900:0upti.meK900You need to find the actual script that's running in the Steam container17:27:33
@k900:0upti.meK900It is in bubblewrap's arguments17:27:57
@k900:0upti.meK900 As --symlink <something> /init 17:28:07
@k900:0upti.meK900Oh actually17:28:23
@k900:0upti.meK900 steam-run bash -x $(which steam) may work 17:28:31
@k900:0upti.meK900Oh no17:28:53
@k900:0upti.meK900You need layers17:28:57
@k900:0upti.meK900 steam-run sh -c 'bash -x $(which steam)' 17:29:09
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) It might be that steam.sh is not executable? 17:37:13
@k900:0upti.meK900Uhh, what17:37:21
@k900:0upti.meK900 What steam.sh 17:37:25
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) The on located under ~/.local/share/Steam. 17:37:50
@k900:0upti.meK900Is your home directory mounted noexec or something17:38:06
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)My home dir is but not my persistent partition.17:38:29
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)It was working before, the only thing I changed is the impermanence version.17:39:09
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)But I fail to understand how could be producing errors if nothing else has broke.17:39:31
@k900:0upti.meK900I don't understand impermanence enough to tell you17:40:40
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Afaik it is using systemd mounts to bindmount dirs currently.17:41:14
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
# /etc/systemd/system/home-srestegosaurio-.local-share-Steam.mount
[Unit]
Before=local-fs.target
DefaultDependencies=false

[Mount]
Options=bind
Type=none
What=/nix/persistent/home/srestegosaurio/.local/share/Steam
Where=/home/srestegosaurio/.local/share/Steam


[Install]
WantedBy=local-fs.target
17:42:18
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Wait, it might be giving me issue now bc before I was using bindfs and now it is using proper bindmounts, so now it does not matter if steam.sh et al reside on an executable partition bc it is being executed from a noexec place.17:47:26
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Fixed it.18:00:46
@spoody:spoodythe.oneL joined the room.18:52:52
15 Aug 2025
@elvishjerricco:matrix.orgElvishJerricco Anybody here doing VFIO stuff with NixOS? I'm writing a migration guide for systemd stage 1 and apparently a very common use case for preDeviceCommands is VFIO stuff. I want to figure out the best way to do that properly instead, but do not use VFIO myself. 07:07:37
@sandro:supersandro.deSandro 🐧I assume GPU and not network interfaces?10:27:17
@elvishjerricco:matrix.orgElvishJerricco In principle that would still be helpful. Figuring out how to do vfio at all with systemd stage 1 is step one. But yea ideally I'd figure out how to do it with a GPU 10:35:21

Show newer messages


Back to Room ListRoom Version: 10