amd bug workaround

This commit is contained in:
Tao Tien 2024-12-28 21:51:26 -08:00
parent 87a979df25
commit 231034ac69
3 changed files with 3 additions and 2 deletions

View file

@ -102,7 +102,7 @@
SUBVOLUME = "/home";
# FSTYPE = "bcachefs";
FSTYPE =
if lib.nixosSystem == "NOlaptop"
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
then "bcachefs"
else "btrfs";
ALLOW_USERS = ["tao"];