fixed btrfs

This commit is contained in:
Sohrab Behdani 2024-03-31 16:36:08 +03:30
parent e81952789f
commit 6eb9bbff62
2 changed files with 10 additions and 12 deletions

View file

@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
#
# Mount filesystems in the target (generally, before treating the
# target as a usable chroot / "live" system).
---
extraMounts:
- device: proc
fs: proc
@ -19,23 +26,17 @@ extraMounts:
mountPoint: /sys/firmware/efi/efivars
efi: true
btrfsSwapSubvol: /@swap
btrfsSubvolumes:
- mountPoint: /
subvolume: /@
- mountPoint: /home
subvolume: /@home
- mountPoint: /root
subvolume: /@root
- mountPoint: /srv
subvolume: /@srv
- mountPoint: /var/cache
subvolume: /@cache
- mountPoint: /var/log
subvolume: /@log
- mountPoint: /var/tmp
subvolume: /@tmp
btrfsSwapSubvol: /@swap
mountOptions:
- filesystem: default
@ -46,7 +47,3 @@ mountOptions:
options: [ defaults, noatime, compress=zstd ]
- filesystem: btrfs_swap
options: [ defaults, noatime ]
- filesystem: ext4
options: [ defaults, noatime, commit=60 ]
- filesystem: xfs
options: [ defaults, lazytime, noatime, attr2, inode64, logbsize=256k, noquota ]

View file

@ -10,4 +10,5 @@ script:
- "-systemctl enable bluetooth"
- "-rm -rf /etc/sddm.conf.d/autologin.conf"
- "-rm -rf /etc/sudoers.d/g_wheel"
- "-localectl set-keymap us"