this post was submitted on 31 Jan 2026
188 points (99.0% liked)

Linux

11580 readers
355 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
you are viewing a single comment's thread
view the rest of the comments
[โ€“] tomenzgg@midwest.social 0 points 1 day ago (1 children)

Does Home Manager not just have a dot file manager built in? On Guix, I just have my Waybar config. get moved to the appropriate location that Waybar will expect it.

Some services will even allow you to specify files to get injected into the config.; like the Bash service so I can write some definitions out in a .sh file and the service inserts that contents after the boilerplate it provides into my .bashrc.

[โ€“] Oinks@lemmy.blahaj.zone 7 points 1 day ago* (last edited 1 day ago)

It does, that's the home.file escape hatch I mentioned. But then you end up paying 10-30 seconds eval for a "config" that looks like this:

{
  home.file.".bashrc".source = ./bashrc;
  home.file.".bash_profile".source = ./bash_profile;
  xdg.configFile.nvim.source = ./nvim;
  xdg.configFile.sway.source = ./sway;
  # ...
}

I suppose there are fringe use cases where Nix attrset merging behaviour is useful, but in the general case I just don't see much value here.