crabdancing / nixpak-flatpak-wrapper

Hacks helping with semi-almost-usable declarative NixOS sandboxing
GNU Lesser General Public License v3.0
8 stars 1 forks source link

TODO eventually #3

Open crabdancing opened 3 months ago

crabdancing commented 3 months ago
crabdancing commented 2 weeks ago

per-user config could be handled with merge-rs. High-level codegen for merge strats is a little overkill, but will be very future-proof. Can then have standard XDG config files like ~/.config/nixpak-flatpak-wrapper/config.toml and then layer that config on top of /etc/nixpak-flatpak-wrapper.toml. Then use home-manager's xdg.configFile option in the homeManagerModule, and we should be golden. :3