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/
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
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.
nix profile as I often do that before adding them to my system configuration ❄️