mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 04:37:49 +02:00
@@ -61,8 +61,8 @@ EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
# Enable quota to allow space-aware algorithms to work
|
||||
sudo btrfs quota enable /
|
||||
# Disable btrfs quotas (they cause performance issues)
|
||||
sudo btrfs quota disable / 2>/dev/null || true
|
||||
|
||||
# Tweak default Snapper configs
|
||||
sudo sed -i 's/^TIMELINE_CREATE="yes"/TIMELINE_CREATE="no"/' /etc/snapper/configs/{root,home}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
echo "Disable btrfs quotas on existing installs"
|
||||
|
||||
if omarchy-cmd-present btrfs; then
|
||||
if sudo btrfs quota status / 2>/dev/null | grep -q "enabled"; then
|
||||
sudo btrfs quota disable /
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user