mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:13:55 -05:00
increased priority for zramSwaps over physical swaps for mauville and petalburg
This commit is contained in:
parent
151fbaad72
commit
ec66205035
|
@ -26,6 +26,10 @@
|
|||
extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
};
|
||||
|
||||
systemConfig = {
|
||||
zramSwap.enable = true;
|
||||
};
|
||||
|
||||
homeLab.enable = true;
|
||||
desktopConfig.enable = true;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue