| 27 Jun 2024 |
genevieve | 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 | 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 | 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 | i don't think steam-run is coming from xivlauncher? | 00:29:54 |
mjm | so that config doesn't apply to it | 00:30:01 |
mjm | oh i guess it does | 00:30:23 |
mjm | that's strange then, maybe steam-run is getting pulled in somewhere else? | 00:30:58 |
Atemu | 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 |
Atemu | It's a crufty tool | 00:31:29 |
mjm | sudo resets the environment, so env vars you set before calling it won't apply | 00:31:56 |
mjm | it's not really cruft, that's working as intended | 00:32:02 |
| axiomss left the room. | 04:12:49 |
redbeardymcgee | You can use -E to retain the environment but its really not recommended | 06:48:05 |
woobilicious | Atemu: I have this home manager module setup inspired by your script. https://gist.github.com/YellowOnion/aace96e072947def00bc37b9e4e4b52d | 06:50:32 |
Atemu | 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 |
Atemu | Didn't know there was a PW env var for this though, was wondering whether there was an equivalent | 18:50:41 |
| 29 Jun 2024 |
| maka_77x joined the room. | 00:48:33 |
woobilicious | Atemu: I meant the nixpkgs patch you made for 32bit vkcapture, I always confuse my terminology. | 06:20:10 |
mjm | Anyone 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 game | 13:34:20 |
mjm | I saw something that said to use obs-vkcapture instead of pipewire screen/window capture, but it does the same thing | 13:34:56 |
aidalgol | Sounds like it might not be using hardware encoding. | 20:22:05 |
aidalgol | Oh, "not even stream/recording". I have no idea then, sorry. | 20:22:19 |
Atemu | Perhaps some source in another scene causing issues? I'd try an empty obs config and gradually enable things | 20:31:30 |
mjm | The game capture is the only thing I have, and it’s the only scene | 20:39:56 |
mjm | I am on Nvidia with explicit sync on Wayland so it always could be nvidia’s fault | 20:40:34 |
mjm | The crazy part to me is that it’s full FPS in the stream. Like it’s not struggling to keep up | 20:42:45 |
mjm | I just don’t get to see it in full FPS when actually playing | 20:43:07 |
| 30 Jun 2024 |
| flameopathic set a profile picture. | 14:28:54 |
| flameopathic removed their profile picture. | 14:29:04 |
| flameopathic set a profile picture. | 14:32:16 |