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 = ''
'';
};

View file

@ -17,6 +17,22 @@
boot.extraModulePackages = [];
fileSystems."/persistent".neededForBoot = true;
fileSystems."/run/media/lillian/big-SSD" = {
device = "b12ee352-ca6d-47d5-8b5f-6e3002af12e7";
fsType = "ext4";
options = ["users" "nofail" "uid=1000" "gid=100"];
};
fileSystems."/run/media/lillian/small-SSD" = {
device = "237cc760-2b3b-41ec-aab4-deff9cc7c5a1";
fsType = "ext4";
options = ["users" "nofail" "uid=1000" "gid=100"];
};
fileSystems."/run/media/lillian/Backup" = {
device = "cb175f0e-a008-476d-b0eb-ba8d7873af66";
fsType = "ext4";
options = ["users" "nofail" "uid=1000" "gid=100"];
};
# fileSystems."/" =
# { device = "UUID=166dc8d8-b77f-43fe-8bee-a0fc5b26aeb5";
# fsType = "bcachefs";