sugarcane/filesystem: fixup filesystems

This commit is contained in:
LavaDesu 2022-02-02 16:11:09 +07:00
parent 79b1bb0d35
commit 406df074d5
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -12,24 +12,16 @@ in {
"/" = {
device = "rootfs";
fsType = "tmpfs";
options = [ "defaults" "size=2G" "mode=755" ];
options = [ "defaults" "size=1G" "mode=755" ];
};
"/mnt" = {
"/nix" = {
device = "/dev/disk/by-uuid/19d572a8-1cf6-4b9c-94c6-3ce6be54f719";
fsType = "ext4";
options = [ "defaults" "noatime" ];
neededForBoot = true;
};
"/nix" = {
depends = [ "/mnt" ];
device = "/mnt/nix";
fsType = "none";
neededForBoot = true;
options = [ "bind" ];
};
"/var/persist" = bind "/nix/persist";
"/var/log/journal" = bind "/nix/persist/journal";
"/boot" = bind "/nix/persist/boot";