| .. | ||
| default.nix | ||
| README.md | ||
Lena Setup Specifics
Machine: Lenovo Ideapad 5 2-in-1 (Ryzen 7 8845HS)
1. Disk Partitioning (Btrfs)
Lena uses a Btrfs subvolume layout with ZSTD compression. Use these steps in the installer:
Step 1: Subvolume Creation
# Mount the main partition (nvme0n1p3)
mount /dev/nvme0n1p3 /mnt
# Create subvolumes
btrfs subvolume create /mnt/@
btrfs subvolume create /mnt/@home
btrfs subvolume create /mnt/@nix
btrfs subvolume create /mnt/@log
umount /mnt
Step 2: Mount with Optimizations
# Mount Root
mount -o subvol=@,compress=zstd,noatime /dev/nvme0n1p3 /mnt
# Create mount points
mkdir -p /mnt/{home,nix,var/log,boot}
# Mount others
mount -o subvol=@home,compress=zstd,noatime /dev/nvme0n1p3 /mnt/home
mount -o subvol=@nix,compress=zstd,noatime /dev/nvme0n1p3 /mnt/nix
mount -o subvol=@log,compress=zstd,noatime /dev/nvme0n1p3 /mnt/var/log
# Mount EFI (nvme0n1p1)
mount /dev/nvme0n1p1 /mnt/boot
2. 2-in-1 / Tablet Features
- Auto-Rotation: Enabled via
hardware.sensor.iio. KDE Plasma 6 should handle rotation automatically. - Fingerprint: Enabled for
sudoand lock screen.- Enrollment:
fprintd-enroll nimmo
- Enrollment:
- Numlock: Forced 'On' at boot via SDDM.
3. Post-Install Check
If the screen rotation is inverted, verify orientation settings in Plasma Display Configuration.