nixos/kelder: Improve boot and mounting
This commit is contained in:
parent
214e4f2354
commit
4d74f43d74
@ -41,14 +41,19 @@
|
||||
fsType = "vfat";
|
||||
};
|
||||
"/nix" = {
|
||||
device = "/dev/ssd/nix";
|
||||
device = "/dev/disk/by-uuid/0aab0249-700f-4856-8e16-7be3695295f5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/persist" = {
|
||||
device = "/dev/ssd/persist";
|
||||
device = "/dev/disk/by-uuid/8c01e6b5-bdbf-4e5c-a33b-8693959ebe8a";
|
||||
fsType = "ext4";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/mnt/storage" = {
|
||||
device = "/dev/disk/by-partuuid/58a2e2a8-0321-ed4e-9eed-0ac7f63acb26";
|
||||
fsType = "ext4";
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
|
@ -389,6 +389,9 @@ in
|
||||
(mkIf config.services.hardware.bolt.enable {
|
||||
my.tmproot.persistence.config.directories = [ "/var/lib/boltd" ];
|
||||
})
|
||||
(mkIf config.boot.plymouth.enable {
|
||||
my.tmproot.persistence.config.files = [ "/var/lib/plymouth/boot-duration" ];
|
||||
})
|
||||
]))
|
||||
]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user