#fzf lets you fuzzy find and select files with `ctrl-t`. I created this little #fish snippet that lets you do the same for directories with `alt-t`:

(Code is in this thread because I couldn't fit it in the same toot)

#nix #homemanager #nixos #justTheTechTip

The ruby provider is now disabled by default since the overwhelming majority of users do not use it. Set `programs.neovim.withRuby = true;` to restore the previous behavior.
#NixOS #Nix #HomeManager
The `programs.zed-editor` module now supports MCP integration via `programs.zed-editor.enableMcpIntegration`. When enabled, shared servers from `programs.mcp.servers` are merged into `programs.zed-editor.userSettings.context_servers`, with settings-based values taking precedence.
#NixOS #Nix #HomeManager
The `programs.mergiraf` module's Git and Jujutsu integration are now gated behind `programs.mergiraf.enableGitIntegration` (respectively `enableJujutsuIntegration`). They are enabled by default for `stateVersion < 26.04`, and otherwise need to be explicitly enabled.
#NixOS #Nix #HomeManager

TIL you can make your config files writeable with `mkOutOfStoreSymlink` in Home Manager. Therefore avoid having to rebuild for every little change to your config files.

https://www.foodogsquared.one/posts/2023-03-24-managing-mutable-files-in-nixos/

#NixOS #homemanager

Managing mutable files in NixOS

foodogsquared

Anyone got a working #GPG #git commit signing example for a #macos using #homemanager #nixdarwin

Currently getting the following error:
error: gpg failed to sign the data:
gpg: skipped "$USER": No secret key

#pinentry #pgp #gnupg #nix

The options 'xsession.windowManager.i3.config.gaps.smartGaps' and 'wayland.windowManager.sway.config.gaps.smartGaps' now expects either "on", "off" (default) or "inverse_outer".
#NixOS #Nix #HomeManager
The starship module has a new option, programs.starship.presets, which allows for merging user configuration with Starship's bundled presets.
#NixOS #Nix #HomeManager

I've been using #homemanager on both #nixos and non-nixos systems for a while and it's been mostly good. One annoying thing was managing channels. My NixOS is flake-based, but when I ran "nix-shell -p <pkg>" on non-nixos system, things weren't predictable.

Finally figured out a fix in https://codeberg.org/sochotnicky/homelab/src/commit/2b53a2b2b17a9010cd5396515c76f35e99bf9dfb/home/base.nix#L20-L36

Basically setup nix registry nixpkgs/unstable using flake inputs. So I can run nix shell nixpkgs#curl and get same curl as I have on my nixos. Or use unstable#curl and get latest.

homelab/home/base.nix at 2b53a2b2b17a9010cd5396515c76f35e99bf9dfb

homelab - My basic homelab setup

Codeberg.org
Might be of interest to #Nix users out there:

https://gist.github.com/totoroot/b9684294d599504218e0c655ca56767d

I created a script that helps me audit packages installed via
nix profile as I often do that before adding them to my system configuration ❄️

I then tend to forget to remove them after I installed them via my system configuration (as systemPackages or via
#HomeManager).

With this script I can later on audit all packages installed, check which binaries they provide and automatically remove them if they were found in my PATH somewhere else.

#NixOS #NixDarwin
Audit packages installed via nix profile and optionally remove those already provided elsewhere on PATH.

Audit packages installed via nix profile and optionally remove those already provided elsewhere on PATH. - nix-profile-audit

Gist