263
you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 2 points 1 week ago* (last edited 1 week ago)

You don't have to waste 30 seconds on a full eval when just iterating, I use these one-liners when trying to get some config file working: https://github.com/balsoft/nixos-config/blob/master/flake.nix#L140 ; they only evaluate one specific file and then link it into the right location "imperatively"

Then when I get it working I do the nixos-rebuild switch, which is a no-op in terms of home-manager stuff because the link points to the same location, it just makes it so that it stays the same after a reboot (I use impermanence).

this post was submitted on 31 Jan 2026
263 points (98.9% liked)

Linux

12183 readers
502 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS