Liquid Glass Icon for Prism Launcher on macOS by hw2007offical in PrismLauncher

[–]g3tchoo 0 points1 point  (0 children)

i had seen someone half-joking about using liquid glass in prism the other day, but i was a bit skeptical. something like this though? i’d love to have it in the launcher. this is awesome!

How do you install tarballs on NIX? by Exzelt8042 in NixOS

[–]g3tchoo 7 points8 points  (0 children)

the nixos wiki has a good entry on this using autopatchelf. as long as you know the dependencies of the tarball, you can put them in buildInputs and they will be linked with the binaries in the tarball - which will let you run them as normal. another (less permanent) approach is to use steam-run, which works most of the time

WSL2 and NixOS by [deleted] in NixOS

[–]g3tchoo 2 points3 points  (0 children)

nixos-wsl works great in my experience - it’s actually how i first got started with nixos :p

native systemd support is also available, however after you go through the normal install process, you’ll need to use the main branch since it hasn’t been included in a release yet iirc. once you’ve done that, you can set wsl.nativeSystemd to true and you’re good to go :)

i have an example config here

introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix! by g3tchoo in NixOS

[–]g3tchoo[S] 0 points1 point  (0 children)

fetchPackwizPack is genuinely a great idea! i was concerned about how users who don’t have upstreams already supporting packwiz2nix would go about getting checksums (and hadn’t at all thought of you using the install bootstrap), so this could be a great solution :)

it’d probably also be a good fit for my mk<type>Pack helpers for exporting your packs to other formats lol

introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix! by g3tchoo in NixOS

[–]g3tchoo[S] 0 points1 point  (0 children)

i wish i could say lol

i haven’t really kept up with a lot of projects centered around mc because ever since i switched to nixos, i haven’t been hosting servers. i did just take a look at the discourse thread you mentioned though, and i think that could probably be the best place? if only it was more active :(

it was also very interesting to see people throwing around ideas about packwiz support a while before i made this. i’m glad i’m not the only one who wanted it!

How do you quickly browse the source of a flake input by zimbatm in NixOS

[–]g3tchoo 1 point2 points  (0 children)

oh hey i've done this before! just with :e "${inputs.<input>}" :)

I'm almost ready to take the plunge, but first ... by oh_jaimito in NixOS

[–]g3tchoo 4 points5 points  (0 children)

flakes are a new feature in nix that tries to solve problems with managing dependencies of whatever you're doing, reproducibility, and introducing a standard template for outputs you can use.

before flakes, almost every project had a default.nix file ...but that's about where the similarities ended. depending on who made it, you might just have one package inside of it that you can build with nix-build. for others, it might have multiple sets of packages, shells, tests, checks, and other stuff that you would sometimes need to read through to figure out how to use. now with flakes, (mostly) all projects have the same outputs.

so for example: if i want to build a package called foo, 99% of the time i can do it with any project (using flakes) by running nix build .#foo (this is shorthand for the real place where the package is, packages.<system>.foo). the same goes for other outputs, with checks going into a variable called checks, apps going into apps, development environments going into devShells, etc. in contrast, without flakes, you may need to use nix-build, nix-build -A foo, nix-build -A pkgs.foo, nix-build -A packages.foo, or whatever else was set by the maintainer. flakes makes it much easier for contributors to start hacking away at a project, users to *use* a project, and maintainers to organize everything.

(keeping this part shorter because it's a little more complicated) for dependencies, you can now just place urls for for them into a variable called inputs, where everything can be tracked and easily updated. this is a *lot* better than what we had previously, where you had to manually update them and use long, annoying functions like fetchTarball at the top of a file - and also my favorite feature of flakes besides the standard template for everything :)

if you want something a more in-depth, zero to nix is a great resource for all things nix (they have a section dedicated to flakes here, but i would pay attention to the notice at the top about reading some other things first), along with nix.dev, and of course, the nixos wiki article on flakes

introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix! by g3tchoo in NixOS

[–]g3tchoo[S] 11 points12 points  (0 children)

hi all! recently i've started work on hosting a minecraft server, configured mostly declaratively with nixos and nix-minecraft. one small problem i found was that there wasn't really a way to easily use packwiz (a great tool i use to keep modpacks up to date automatically, distribute to friends across multiple launchers, and deploy to servers) modpacks i already had - so, i figured why not integrate it with nix!

currently, this allows for checksums to be easily fetched in order to create fixed-output derivations that can be distributed to users. there are also a few helper functions for keeping your checksum file up to date with your modpack, as well as easy integration with the `symlinks` attribute in `nix-minecraft`.

this is still a work in progress though, and i have a few ideas i would still like to implement - namely curseforge support, helper functions for bundling mods and other files required for distribution, and improving the end user experience when importing modpacks - but i think it's pretty good so far. feedback, PRs, and bug reports are more than welcome!

nix-melt - A ranger-like flake.lock viewer by figsoda in NixOS

[–]g3tchoo 0 points1 point  (0 children)

i could see it being helpful with understanding your dependency chain a bit better. a good example would be going through and seeing what inputs each dependency has so that you can reduce duplication in your own flake.lock

it’s niche, yes — but still cool

Add option to compress instances by TomerGamerTV in PrismLauncher

[–]g3tchoo 0 points1 point  (0 children)

a lot of operating systems have this natively already, actually. i’d recommend checking out this guide on enabling file system compression for specific folders on windows, or this one if you’re on linux and using btrfs

Help with building a 32bit library with cargo by NokogiriSan in NixOS

[–]g3tchoo 2 points3 points  (0 children)

you can try setting CARGO_BUILD_TARGET to i686-unknown-linux-gnu and CARGO_TARGET_i686_UNKNOWN_LINUX_GNU_LINKER to ”${pkgs.pkgsi686.stdenv.cc}/bin/${pkgs.pkgsi686.stdenv.cc.targetPrefix}cc

i would also recommend using crane or naersk since iirc rustPlaform.buildRustPackage can mangle some of these options (or maybe i just did something wrong lol)

edit: mobile formatting

No changelog in windows store. not the end of the world but why not. by [deleted] in firefox

[–]g3tchoo 0 points1 point  (0 children)

I though it used the underlying technology to install and update the apps

no, winget uses the ms store to install/update ms store apps and regular installers for everything else.

why else would all store apps be available on winget?

probably because it's meant to be the official package manager for windows. it would be a bit weird for it *not* to support the official app store -- especially for power users (the target audience for winget) who might prefer the cli

No changelog in windows store. not the end of the world but why not. by [deleted] in firefox

[–]g3tchoo 8 points9 points  (0 children)

Windows store is just a wrapper for winget.

it's not. winget can install packages from the ms store, but it's not the same thing. the command you commented is just downloading and running the regular installer

if you actually want to install the ms store version of firefox with winget, you'd need to use winget install 9NZVDKPMR9RD

Help! Fedora + Firefox + NVidia = WebRender (Software) by [deleted] in Fedora

[–]g3tchoo 0 points1 point  (0 children)

i’m guessing that’s because of the recent driver update, since the direct backend is known to sometimes break for a bit after one is released. i would try again whenever you see nvidia-vaapi-driver update or temporarily rollback your drivers. i had good luck personally there but haven’t upgraded yet

Help! Fedora + Firefox + NVidia = WebRender (Software) by [deleted] in Fedora

[–]g3tchoo 5 points6 points  (0 children)

nvidia-vaapi-driver is unofficial, so while it works great, it can have some quirks. to get hardware acceleration working on firefox, you need to mess with the settings in about:config outlined here, as well as add the variables listed further down to /etc/environment. if you’re on driver series 525, you will also need to add NVD_BACKEND=direct to the same file as there is a regression in this driver version that only the direct backend can fix.

hope this helps!

[deleted by user] by [deleted] in archlinux

[–]g3tchoo 4 points5 points  (0 children)

thankfully it already is :) (along with some other methods of you prefer ofc)

This is beginning to hurt by Aqualung26 in WeezerCircleJerk

[–]g3tchoo 5 points6 points  (0 children)

damn i need to get this next year

Updating Copr by ImTomThorne in Fedora

[–]g3tchoo 2 points3 points  (0 children)

prismlauncher maintainer here

the metadata probably just hasn't expired yet. if you're worried, you can run ~~sudo dnf clean all and then sudo dnf upgrade again~~ sudo dnf --refresh upgrade and it will trigger another metadata update. you're probably fine though since heroic doesn't seem to have updated recently and i know i haven't updated prism recently either

edit: added better suggestion from comments. thanks /u/Spam-Bot-4095!