feat(lattepanda): remove swapfile

This commit is contained in:
Felix Schröter 2023-04-11 17:17:00 +02:00
parent e1bf285b89
commit 8197776b8d
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -30,13 +30,6 @@
options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ]; options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ];
}; };
fileSystems."/.swap" = {
device = "/dev/disk/by-uuid/70f03d67-e248-42f6-a204-c02e4f180531";
fsType = "btrfs";
options = [ "subvol=@swap" "nodatacow" "noatime" ];
neededForBoot = true;
};
fileSystems."/.snapshots" = { fileSystems."/.snapshots" = {
device = "/dev/disk/by-uuid/70f03d67-e248-42f6-a204-c02e4f180531"; device = "/dev/disk/by-uuid/70f03d67-e248-42f6-a204-c02e4f180531";
fsType = "btrfs"; fsType = "btrfs";
@ -48,11 +41,6 @@
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = [{
device = "/.swap/swapfile";
size = 8096;
}];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction