fix fs mapping

This commit is contained in:
Aditya 2024-02-17 16:00:40 +05:30
parent 5d26a88ea6
commit 25bd0a7542
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 8 additions and 4 deletions

View file

@ -57,8 +57,8 @@
boot.initrd.luks.devices."luks-3b571a97-616b-4dd7-9abb-d1e0491d178a".allowDiscards = true;
# Allow discard on /
boot.initrd.luks.devices."a09877ce-f520-429a-9f3b-57b073e4d662".device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662";
boot.initrd.luks.devices."a09877ce-f520-429a-9f3b-57b073e4d662".allowDiscards = true;
boot.initrd.luks.devices."luks-a09877ce-f520-429a-9f3b-57b073e4d662".device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662";
boot.initrd.luks.devices."luks-a09877ce-f520-429a-9f3b-57b073e4d662".allowDiscards = true;
networking.hostName = "bridge"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -14,7 +14,9 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e45731e0-2052-4bfa-a0e8-8cc8f688ad89";
{
device = "/dev/disk/by-uuid/e45731e0-2052-4bfa-a0e8-8cc8f688ad89";
# device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662";
fsType = "ext4";
};
@ -26,7 +28,9 @@
};
swapDevices =
[ { device = "/dev/disk/by-uuid/29f26db6-b544-4744-b6d8-74ed071b2baf"; }
[
{ device = "/dev/disk/by-uuid/29f26db6-b544-4744-b6d8-74ed071b2baf";}
# { device = "/dev/disk/by-uuid/3b571a97-616b-4dd7-9abb-d1e0491d178a";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking