mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
feat: Set SteamOS BTRFS mount flags for all BTRFS partitions
This commit is contained in:
parent
6ee74c4394
commit
cf667f8cdd
@ -94,6 +94,11 @@ screens:
|
||||
default: true
|
||||
packages:
|
||||
- Create Steam shortcuts: just --unstable create-steam-shortcuts
|
||||
SteamOS BTRFS Mount Flags:
|
||||
description: Sets SteamOS BTRFS mount flags
|
||||
default: true
|
||||
packages:
|
||||
- Set SteamOS BTRFS mount flags: sudo -A just --unstable set-btrfs-flags
|
||||
Use EXT4 for SD Cards:
|
||||
description: Disable BTRFS support for SD cards for direct compatibility with SD cards formatted on stock SteamOS (Not recommended).
|
||||
default: false
|
||||
|
@ -112,6 +112,9 @@ enable-duperemove:
|
||||
systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer
|
||||
systemctl enable --now duperemove-weekly@$(systemd-escape /run/media/mmcblk0p1).timer
|
||||
|
||||
set-btrfs-flags:
|
||||
sudo sed -i 's/compress=zstd:1/noatime,lazytime,commit=120,compress-force=zstd:1,space_cache=v2,discard=async/g' /etc/fstab
|
||||
|
||||
switch-to-ext4:
|
||||
sudo sed -i 's@STEAMOS_BTRFS_SDCARD_FORMAT_FS="btrfs"@STEAMOS_BTRFS_SDCARD_FORMAT_FS="ext4"@g' /etc/default/steamos-btrfs
|
||||
|
||||
|
@ -66,6 +66,11 @@ screens:
|
||||
default: false
|
||||
packages:
|
||||
- Enable Big Picture Mode: just --unstable enable-big-picture
|
||||
SteamOS BTRFS Mount Flags:
|
||||
description: Sets SteamOS BTRFS mount flags
|
||||
default: true
|
||||
packages:
|
||||
- Set SteamOS BTRFS mount flags: sudo -A just --unstable set-btrfs-flags
|
||||
System76 Scheduler:
|
||||
description: Enables System76 scheduler
|
||||
default: true
|
||||
|
@ -46,6 +46,9 @@ enable-wallpaper-engine:
|
||||
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin
|
||||
rm -rf /tmp/wallpaper-engine-kde-plugin
|
||||
|
||||
set-btrfs-flags:
|
||||
sudo sed -i 's/compress=zstd:1/noatime,lazytime,commit=120,compress-force=zstd:1,space_cache=v2,discard=async/g' /etc/fstab
|
||||
|
||||
zram-on:
|
||||
#!/usr/bin/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user