disko
disko copied to clipboard
diskoImagesScript creates host's user home dir with some garbage leftovers
after running nix build .#nixosConfigurations.myhost.config.system.build.diskoImagesScript
the resulting image has additional home dir created for host's user that ran the command (the user itself is not created, and that dir is owned by root).
That dir contains single .nix-defexpr
dir with channels
->/tmp/state/profiles/per-user/root/channels
broken link.
I assume that's some leftovers from building process that should not be there.