Hi! I’m new to NixOS and trying to figure out how to deal with my dotfiles that are linking to /usr/share.
For the foot terminal, I have include=/usr/share/foot/themes/kitty in my config and for sway I have output * bg $(find "/usr/share/backgrounds" -type f | shuf -n1) fill to set a random wallpaper.
I have installed the nix packages for foot, foot.themes and gnome.gnome-backgrounds.
My goal is to keep my dotfiles distro-agnostic, so I’d like to not migrate them to home-manager or have custom ones for NixOS, just configure the base system with Nix and have it work. Is there any way to achieve this?
I’ve experimented with environment.pathsToLink that I found here, thinking that I might be able to symlink afterwards, but I’ve not even been able to get the files to show up under /run/current-system/sw/.