!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

616 Members
Gaming things, my hands are typing words.166 Servers

Load older messages


SenderMessageTime
27 Jun 2024
@genevieve:envs.netgenevieve
  users.users.${myUser}.packages =
    let
      nompkgs = import inputs.nixos-master {
        system = "x86_64-linux";
        allowUnfree = true;
      };
    in [ nompkgs.xivlauncher ];

error: Package ‘steam-run’ has an unfree license

I'm kind of surprised this doesn't work, what am I doing wrong here?

23:43:15
@genevieve:envs.netgenevieve
NIXPKGS_ALLOW_UNFREE=1 sudo nixos-rebuild boot --flake . --impure

...
 error: Package ‘steam-run’ in /nix/store/w5jf3xpdh5mrkjqbplc98j1agbggs2w3-source/pkgs/games/steam/fhsenv.nix:344 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.

OK, now this is quite annoying

23:46:35
@genevieve:envs.netgenevieve Ah, OK: sudo NIXPKGS_ALLOW_UNFREE="1" nixos-rebuild boot --flake . --impure. Still, I'm very confused why that first code snippet doesn't work and would like to know 23:48:30
28 Jun 2024
@mjm:midna.devmjmi don't think steam-run is coming from xivlauncher?00:29:54
@mjm:midna.devmjmso that config doesn't apply to it00:30:01
@mjm:midna.devmjmoh i guess it does00:30:23
@mjm:midna.devmjmthat's strange then, maybe steam-run is getting pulled in somewhere else?00:30:58
@atemu12:matrix.orgAtemu
In reply to @genevieve:envs.net
Ah, OK: sudo NIXPKGS_ALLOW_UNFREE="1" nixos-rebuild boot --flake . --impure. Still, I'm very confused why that first code snippet doesn't work and would like to know
Smells like a sudo quirk
00:31:23
@atemu12:matrix.orgAtemuIt's a crufty tool00:31:29
@mjm:midna.devmjmsudo resets the environment, so env vars you set before calling it won't apply00:31:56
@mjm:midna.devmjmit's not really cruft, that's working as intended00:32:02
@axiomss:matrix.orgaxiomss left the room.04:12:49
@redbeardy_mcgee:matrix.orgredbeardymcgeeYou can use -E to retain the environment but its really not recommended 06:48:05
@woobilicious:matrix.orgwoobilicious Atemu: I have this home manager module setup inspired by your script.
https://gist.github.com/YellowOnion/aace96e072947def00bc37b9e4e4b52d
06:50:32
@atemu12:matrix.orgAtemu
In reply to @woobilicious:matrix.org
Atemu: I have this home manager module setup inspired by your script.
https://gist.github.com/YellowOnion/aace96e072947def00bc37b9e4e4b52d
Uh, what script of mine? ^^'
18:50:06
@atemu12:matrix.orgAtemuDidn't know there was a PW env var for this though, was wondering whether there was an equivalent18:50:41
29 Jun 2024
@maka_77x:matrix.orgmaka_77x joined the room.00:48:33
@woobilicious:matrix.orgwoobilicious Atemu: I meant the nixpkgs patch you made for 32bit vkcapture, I always confuse my terminology. 06:20:10
@mjm:midna.devmjmAnyone else had issues where running OBS seems to make game framerate drop? It feels like it cuts in half as soon as OBS is started, not even streaming/recording. And it's weird because the preview in OBS on the second screen is showing the game at full 60fps, noticeably smoother than the other screen where I'm actually playing the game13:34:20
@mjm:midna.devmjmI saw something that said to use obs-vkcapture instead of pipewire screen/window capture, but it does the same thing13:34:56
@aidalgol:matrix.orgaidalgolSounds like it might not be using hardware encoding.20:22:05
@aidalgol:matrix.orgaidalgolOh, "not even stream/recording". I have no idea then, sorry.20:22:19
@atemu12:matrix.orgAtemuPerhaps some source in another scene causing issues? I'd try an empty obs config and gradually enable things20:31:30
@mjm:midna.devmjmThe game capture is the only thing I have, and it’s the only scene20:39:56
@mjm:midna.devmjmI am on Nvidia with explicit sync on Wayland so it always could be nvidia’s fault20:40:34
@mjm:midna.devmjmThe crazy part to me is that it’s full FPS in the stream. Like it’s not struggling to keep up20:42:45
@mjm:midna.devmjmI just don’t get to see it in full FPS when actually playing20:43:07
30 Jun 2024
@flameopathic:matrix.orgflameopathic set a profile picture.14:28:54
@flameopathic:matrix.orgflameopathic removed their profile picture.14:29:04
@flameopathic:matrix.orgflameopathic set a profile picture.14:32:16

Show newer messages


Back to Room ListRoom Version: 10