Can I use a file in the same place as the nix config to set the configs for i3 for example? Or anything else that would go in ~/.config? It would be amazing to have all the configuration files in one single folder to easily move to new hardware.
Yes, that’s what home-manager is for, your configuration goes into ~/.config/home-manager/ and from that you can generate all the other configuration files that go into your $HOME (either by just copying a read-only version of the raw file or by generating it on the fly from the nix configuration file when a home-manager module is provided)
Can I use a file in the same place as the nix config to set the configs for i3 for example? Or anything else that would go in ~/.config? It would be amazing to have all the configuration files in one single folder to easily move to new hardware.
Yes, that’s what home-manager is for, your configuration goes into
~/.config/home-manager/
and from that you can generate all the other configuration files that go into your$HOME
(either by just copying a read-only version of the raw file or by generating it on the fly from the nix configuration file when a home-manager module is provided)