1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

distrobox: replace hardcoded path with config package's path

This commit is contained in:
royce-c 2025-03-25 02:48:29 -07:00
parent 869f2ec2ad
commit 9e37d215e6

View file

@ -87,7 +87,7 @@ in {
if [[ $prev_hash != $new_hash ]]; then
rm -rf /tmp/storage-run-1000/containers
rm -rf /tmp/storage-run-1000/libpod/tmp
$HOME/.nix-profile/bin/distrobox-assemble create --file $containers_file
${cfg.package}/bin/distrobox-assemble create --file $containers_file
echo $new_hash > $prev_hash_file
fi
''}";