Merge pull request #304 from dnkmmr69420/patch-8

Added `nix-store --optimise` to `clean-system`
This commit is contained in:
Kyle Gospodnetich 2023-09-15 19:11:42 -07:00 committed by GitHub
commit 3669eeeed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ clean-system:
rpm-ostree cleanup -bm
if [ -x "$(command -v nix-store)" ]; then
nix-store --gc
nix-store --optimise
fi
# Boot into this device's BIOS/UEFI screen

View File

@ -13,6 +13,7 @@ clean-system:
rpm-ostree cleanup -bm
if [ -x "$(command -v nix-store)" ]; then
nix-store --gc
nix-store --optimise
fi
# Boot into this device's BIOS/UEFI screen