disko icon indicating copy to clipboard operation
disko copied to clipboard

diskoImagesScript creates host's user home dir with some garbage leftovers

Open pedohorse opened this issue 2 months ago • 7 comments

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.

pedohorse avatar May 05 '24 20:05 pedohorse