sugarcane/filesystem: fixup filesystems
This commit is contained in:
parent
79b1bb0d35
commit
406df074d5
1 changed files with 2 additions and 10 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue