nixos/kelder: Improve boot and mounting

This commit is contained in:
Jack O'Sullivan 2023-05-14 16:33:06 +01:00
parent 214e4f2354
commit 4d74f43d74
2 changed files with 10 additions and 2 deletions

View File

@ -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 = {

View File

@ -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" ];
})
]))
]);