!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

729 Members
Gaming things, my hands are typing words.181 Servers

Load older messages


SenderMessageTime
16 Feb 2024
@sigmasquadron:matrix.org@sigmasquadron:matrix.org I’ve been trying to run starsector on a tmpfs system recently, and I’m having trouble using a large amount of mods. At some point, starsector seems to hit the open file limit when loading mods from a bind-mounted folder at .local/share/starsector. I’ve tried to use security.pam.loginLimits to set the nofile limit to unlimited, but it still hits the open file limit with only a few thousand files open. 17:50:52
@sigmasquadron:matrix.org@sigmasquadron:matrix.org Do bind mounts have another open file limit I don’t know about? 17:51:15
@atemu12:matrix.org@atemu12:matrix.orgHow exactly is this folder bind mounted?17:52:02
@atemu12:matrix.org@atemu12:matrix.org * How exactly is this folder bind-mounted?17:52:08
@sigmasquadron:matrix.org@sigmasquadron:matrix.org I’m using impermanence. 17:54:07
@atemu12:matrix.org@atemu12:matrix.orgThat does not answer my question.17:54:18
@sigmasquadron:matrix.org@sigmasquadron:matrix.org Right, sorry. It’s a FUSE mount from a bcachefs volume into a folder created in a tmpfs. The mount options are rw,nosuid,nodev,relatime,user_id=1000,group_id=100,default_permissions17:56:07
@atemu12:matrix.org@atemu12:matrix.orgI suspected that's the case. Do away with the hacky fuse thingy17:56:29
@sigmasquadron:matrix.org@sigmasquadron:matrix.org symlink it is then 17:56:41
@atemu12:matrix.org@atemu12:matrix.orgUse proper bind mounts or a symlink17:56:43
@sigmasquadron:matrix.org@sigmasquadron:matrix.org I do wonder if there’s a FUSE configuration somewhere for file limits 17:57:22
@atka:matrix.org@atka:matrix.organyone running steam in a sandbox on nixos? nspawn container or some other way (not flatpak)? I mainly want steam to only have rw access to its own directory not my entire home.19:33:45
@atemu12:matrix.org@atemu12:matrix.orgWell, technically everyone is20:24:14
@atemu12:matrix.org@atemu12:matrix.orgBut it does not promise any separation20:25:30
@atemu12:matrix.org@atemu12:matrix.orgWhy not Flatpak though?20:25:45
@atemu12:matrix.org@atemu12:matrix.orgThat's one of it's purposes20:26:04
@atka:matrix.org@atka:matrix.org I just wanted to do it a more "nixos" way, I figured there would be a nixos-container or bubblewrap way without using flatpak 20:28:24
@atka:matrix.org@atka:matrix.orgI like having my system managed by my single configuration.nix (can flatpaks be declared that way?)20:29:04
@atka:matrix.org@atka:matrix.orgmaybe I'm mistaken though, I can do flatpak if I have to, or just keep my work computer separate like I've been doing and game solely on the deck20:33:44
@atka:matrix.org@atka:matrix.orgif I do go the flatpak route this may be useful20:36:32
@atka:matrix.org@atka:matrix.orghttps://github.com/GermanBread/declarative-flatpak20:36:34
@multisn8-idk:matrix.org@multisn8-idk:matrix.org changed their display name from multisn8 to multisn8 (migrated to without the -idk).21:49:27
@multisn8-idk:matrix.org@multisn8-idk:matrix.org changed their display name from multisn8 (migrated to without the -idk) to multisn8-idk (migrated to without the -idk).21:50:22
@multisn8:matrix.org@multisn8:matrix.org joined the room.22:04:44
@multisn8-idk:matrix.org@multisn8-idk:matrix.org left the room.22:07:04
17 Feb 2024
@aidalgol:matrix.org@aidalgol:matrix.org You could override the steam derivation to pass extra arguments to buildFHSEnv, which uses bwrap, to harden the sandboxing. 00:44:49
@aidalgol:matrix.org@aidalgol:matrix.orgbwrap is the same thing flatpak uses, btw.00:45:01
@atka:matrix.org@atka:matrix.orgthanks, that's more in line what I'm looking for00:48:17
@atemu12:matrix.org@atemu12:matrix.org atka: Note that none of it is set up to offer separation. You'd effectively be re-implementing Flatpak and likely miss an obvious hole 08:47:39
@rampoina:matrix.orgRampoinadoes teeworlds work for you guys?17:50:28

Show newer messages


Back to Room ListRoom Version: 6