Summary
The current nixos module only supports home-manager (uses xdg.configFile), which means it won't work on bare NixOS setups without home-manager.
Proposal
Add dual support so the module works with or without home-manager:
# For NixOS (no home-manager required)
environment.etc."btca/btca.config.jsonc".text = builtins.toJSON cfg.settings;
# For home-manager users
xdg.configFile."btca/btca.config.jsonc".text = builtins.toJSON cfg.settings;
Use case
This would allow btca-nix to work in NixOS configurations that don't use home-manager, while still supporting existing home-manager users.
Alternative
A simpler approach would be to just use environment.etc (NixOS-level) and let users symlink to ~/.config/btca/ if needed.
Summary
The current nixos module only supports home-manager (uses
xdg.configFile), which means it won't work on bare NixOS setups without home-manager.Proposal
Add dual support so the module works with or without home-manager:
Use case
This would allow btca-nix to work in NixOS configurations that don't use home-manager, while still supporting existing home-manager users.
Alternative
A simpler approach would be to just use
environment.etc(NixOS-level) and let users symlink to~/.config/btca/if needed.