mount disks for GLaDOS

This commit is contained in:
Lillian Violet 2026-03-01 23:36:25 +01:00
parent 53612f7c62
commit f6fb412e6b
5 changed files with 45 additions and 5 deletions

View file

@ -127,23 +127,25 @@
echo "creating new root and home subvolumes..."
btrfs subvolume create /btrfs_tmp/root
btrfs subvolume create /btrfs_tmp/home
mkdir /btrfs_tmp/home/lillian
chown 1000:100 /btrfs_tmp/home/lillian
echo "unmounting btrfs temporary mount..."
umount /btrfs_tmp
echo "disk clear complete!"
'';
};
loader.systemd-boot.enable = true;
loader.systemd-boot.enable = false;
initrd.systemd.enable = true;
kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = ["btrfs" "bcachefs"];
binfmt.emulatedSystems = ["aarch64-linux"];
# lanzaboote = {
# enable = true;
# pkiBundle = "/var/lib/sbctl";
# };
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
extraModprobeConfig = ''
'';
};