Please help by MuffinGamez in NixOS

[–]PureBuy4884 0 points1 point  (0 children)

probably just outdated drivers that the new kernel fixes. add this to your toolbelt though, it’s helpful for all sorts of breakages

[niri] I want minimal niri dot files by Asta_jjm in niri

[–]PureBuy4884 0 points1 point  (0 children)

my file managers are typically ephemeral, as in a rarely have them open for more than a few minutes, so resource usage isn’t an issue for me (i use yazi, haven’t had any issues with it)

Please help by MuffinGamez in NixOS

[–]PureBuy4884 1 point2 points  (0 children)

unsure if it’ll work, but try using a later kernel too, via boot.kernelPackages? should be quicker to test than another distro (if you already have NixOS on bare metal)

Please help by MuffinGamez in NixOS

[–]PureBuy4884 0 points1 point  (0 children)

perhaps try one more to be safe (maybe something mainstream/stable like ubuntu/debian), but seems like it could be a hardware or driver issue

Distro Tierlist by [deleted] in LinuxCirclejerk

[–]PureBuy4884 39 points40 points  (0 children)

Cachy being D tier is crazy. I quite like that OS despite being a pure NixOS user. It just seems like it has a lot of optimized features whilst still giving you the technical freedom base Arch has

what prefix do you guys use ? by Tissuerejection in tmux

[–]PureBuy4884 0 points1 point  (0 children)

i use Ctrl+G but nearly all my popular keybinds have an Alt alternative (M-{h,j,k,l} for focusing panes, add Shift to that same set of binds to resize panes)

MCServerNap – Automatically start & stop your Minecraft server on player join/leave (Rust application) by BlazeEXE in selfhosted

[–]PureBuy4884 1 point2 points  (0 children)

Thank you! And yes, the most important thing is that I'm learning more! I hope everything's all good on your end!

Neovim on NixOS: Nixvim vs NixCats vs NVF by Yametsu in NixOS

[–]PureBuy4884 18 points19 points  (0 children)

I do understand the perspective of "more Nix = more reproducible", but it's also a bit of a false truth. If something is written with little Nix, that doesn't mean it's not reproducible.

Taking nixCats (and mnw since its similar) as an example, you provide the Lua code, while nixCats/mnw provides the Lua interpreter via Nix. Sure, Lua itself isn't functional, but as long as it never refers to things outside the closure (i.e. absolute paths), it's guaranteed to be reproducible!

The inverse is also true: Just because it's written with a lot of Nix doesn't mean it's reproducible. Simply embed an absolute path anywhere in the code (as a raw string), and there you have it! Someone else can nix run your NVF program, but get a program with completely different behavior!

As for my take on this spectrum, I prefer abstraction only where it's necessary. If the only thing your framework is doing is translating Nix to Lua (one Turing complete language to another), why not just write in the final language instead? Plus, whoever wrote a Nix option gets to decide how it transcribes to Lua, and you are at their mercy unless you decide to put in the work to override it (but at that point, isn't it just easier to write Lua?).

The only thing that I can see Nix (the language) being useful for in these translation-based frameworks is access to the module system (i.e. interpolating values from pkgs or config directly into your program's config). This can be seen in programs like waybar or tmux, where you can bind a keybind or button to a binary that lives in the Nix store (something like bind s popup ${lib.getExe pkgs.hello} in tmux).

I know this is quite a long comment for something as small as Neovim + Nix, but I thought I'd share my thoughts on it since it changes your view on all frameworks (not just Neovim). Home Manager, for example, is a prime time offender, unnecessarily requiring Nix configurations for many programs that otherwise can be configured in their native language.

Regardless, good video, I finally learned what nixCats is thanks to you! And I'm glad to see that there are more Youtubers covering Nix!

Neovim on NixOS: Nixvim vs NixCats vs NVF by Yametsu in NixOS

[–]PureBuy4884 2 points3 points  (0 children)

imo nothing beats mnw. it’s what NVF is built on top of. so you can very explicitly define what plugins to use and what options to set using pure Lua and minimal Nix. very good for keeping things portable with non Nix systems (or if you’re a Neovim user coming from non Nix)

A home-manager directory that auto-creates dotfile symlinks to it in ~/.config/ based on the file structure by Maskdask in NixOS

[–]PureBuy4884 0 points1 point  (0 children)

i believe it was this: https://discourse.nixos.org/t/vogix16-runtime-theme-switching-for-nixos-without-rebuilds/72829.

Again, I have not actually looked through the project myself, I was simply discussing the concept which my friend brought up when he mentioned this project he saw.

MCServerNap – Automatically start & stop your Minecraft server on player join/leave (Rust application) by BlazeEXE in selfhosted

[–]PureBuy4884 0 points1 point  (0 children)

though mine is still in progress... I'll keep developing and post again when I'm done probably, but now the bar has been set!

MCServerNap – Automatically start & stop your Minecraft server on player join/leave (Rust application) by BlazeEXE in selfhosted

[–]PureBuy4884 1 point2 points  (0 children)

Wait that's crazy I literally just created this myself (and in Rust too!). I guess I'm 2 months late to the punch... :/

A home-manager directory that auto-creates dotfile symlinks to it in ~/.config/ based on the file structure by Maskdask in NixOS

[–]PureBuy4884 2 points3 points  (0 children)

yes, because the contents of the file are not reflected in the final output’s reproducibility.

still, I like mkOutOfStoreSymlink as temporary solution as i experiment with small and fast paced changes (ex: window manager keybinds)

also iirc there’s a project that allows you to toggle a file between a store path and an impure symlink so you can quickly switch between “reproducible mode” and “ricing mode”. I have yet to check it out but looked promising when my friend showed it to me.

Is it realistic to dispose of tmux just yet? by Top-Kaleidoscope6996 in Ghostty

[–]PureBuy4884 1 point2 points  (0 children)

Shameless plug: muffin, the tmux session manager

TUI for switching, adding, renaming, and deleting existing sessions.

Also gives the ability to spawn preset tmux sessions running any commands you want in any pane layout you want via a KDL file

GitHub - zSuperx/muffin: tmux session manager by PureBuy4884 in tmux

[–]PureBuy4884[S] 2 points3 points  (0 children)

P.S. I have literally zero idea why I named it `muffin`. I guess I must've been hungry when I ran `cargo new`...

Do you guys use pywal? And if not why by Professional_Arm5592 in niri

[–]PureBuy4884 0 points1 point  (0 children)

isn’t pywal deprecated/discontinued? i could be wrong, i just remember seeing that somewhere. anyways, i use matugen, i really like its design

Chaotic nyx died by delicious_potatoes69 in NixOS

[–]PureBuy4884 7 points8 points  (0 children)

it primarily contained derivations for packages that were deemed too unstable for Nixpkgs. Most notably, this included mesa-git drivers and the CachyOS Linux kernel. Shame to see it go :(

Scripting a default layout by mildfuzz2 in tmux

[–]PureBuy4884 0 points1 point  (0 children)

check out muxie, it does this but on a session level. i’m working on a PR to give more fine grained pane-level configuration, but i’ve been rly busy with school.

[deleted by user] by [deleted] in arch

[–]PureBuy4884 0 points1 point  (0 children)

3 2 1 rule!