blob: 7ef2d0d9f55348b87a2d74e4852cbe10b8223c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
fileSystems."/" = {
device = "/dev/disk/by-uuid/3d80a86b-3268-4209-a833-b531b8bc0ebc";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/45A4-2E5B";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [
{
device = "/dev/disk/by-label/swap";
priority = 10;
}
];
zramSwap = {
enable = true;
priority = 100;
algorithm = "lz4";
memoryPercent = 50;
};
boot.kernelParams = [
"resume=LABEL=swap"
];
}
|