I am pretty happy with my configs now, with home manager but no flakes so far. I am, however, annoyed by all the dotfiles that I didn’t define, and I’m worried how many other files are laying around without getting imperatively defined.
I’m sort of picturing a kiosk mode, where every time I reboot everything is wiped and I only have what I defined. Any files I want to keep are on other partitions or network locations mapped in my config. If a new config file is created by changing a setting in an application, I want to be notified so I can add it to my Nix configs.
Is this possible? Is it a terrible idea?
The biggest challenge I see is in installing games, because it looks like they often leave bits all over the place.


Impermanence is basically what you’re looking for. Complete wipe, only recreating the files you have defined or excluded.
Personally, i’ve not yet gone down this path, for the exact reasons you’ve mentioned. Its a matter of time, until i forget to allowlist a path for something new, or a game
THAT’S the word I was looking for!
Thank you.
Now I can hit the wiki. https://nixos.wiki/wiki/Impermanence
Be careful, backup regularly.
Thank you for the caution!