increased priority for zramSwaps over physical swaps for mauville and petalburg

This commit is contained in:
Aly Raffauf 2024-03-30 20:45:57 -04:00
parent 151fbaad72
commit ec66205035
3 changed files with 12 additions and 4 deletions

View file

@ -26,6 +26,10 @@
extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
};
systemConfig = {
zramSwap.enable = true;
};
homeLab.enable = true;
desktopConfig.enable = true;

View file

@ -32,8 +32,10 @@
fsType = "ext4";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/26094ada-7ba4-4437-bacb-b3cdf6c3397b"; }];
swapDevices = [{
device = "/dev/disk/by-uuid/26094ada-7ba4-4437-bacb-b3cdf6c3397b";
priority = 1;
}];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -22,8 +22,10 @@
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/7a33dbc2-73f7-490b-9aa6-382e119a997e"; }];
swapDevices = [{
device = "/dev/disk/by-uuid/7a33dbc2-73f7-490b-9aa6-382e119a997e";
priority = 1;
}];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's