Update IP for maddy and enable zram

This commit is contained in:
Natsu Kagami 2023-09-06 09:25:23 +02:00
parent df272e7d9b
commit 26b0313bcd
Signed by: nki
GPG key ID: 55A032EB38B49ADB
4 changed files with 23 additions and 6 deletions

View file

@ -6,7 +6,8 @@
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
# swap
swapDevices = [{ device = "/var/swapfile"; size = 4 * 1024; }];
swapDevices = [{ device = "/var/swapfile"; size = 4 * 1024; priority = 1024; }];
zramSwap.enable = true;
# volumes
fileSystems.data = {
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";