This commit is contained in:
Aleksandr Lebedev 2025-02-28 16:15:55 +01:00
parent 6f5a549bac
commit a0dbe07b77
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ device, swapSize ? 16 }:
{ device, swapSize ? "16G" }:
{
disko.devices = {
disk.${device} = {
@ -31,7 +31,7 @@
type = "lvm_vg";
lvs = { # lvcreate
swap = { # Logical Volume = "swap", /dev/vg1/swap
size = "${swapSize}G";
size = swapSize;
content = {
type = "swap";
};