1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Update fileSystems entry to use disk by-label

This commit is contained in:
RGBCube 2024-05-13 20:01:04 +03:00
parent bbc0e19188
commit aea097cdc1
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View file

@ -9,7 +9,12 @@ systemConfiguration {
efi.canTouchEfiVariables = true;
};
boot.initrd.availableKernelModules = [ "ahci" "ata_piix" "nvme" "sr_mod" ];
boot.initrd.availableKernelModules = [
"ahci"
"ata_piix"
"nvme"
"sr_mod"
];
fileSystems."/" = {
device = "/dev/disk/by-label/root";

View file

@ -19,7 +19,7 @@ systemConfiguration {
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/vda1";
device = "/dev/disk/by-label/root";
fsType = "ext4";
options = [ "noatime" ];
};