Set boot.growPartition = true

This commit is contained in:
yuri 2023-08-04 02:30:57 +02:00
parent 09abf3bee9
commit a57c5183d8
2 changed files with 9 additions and 7 deletions

View file

@ -4,11 +4,5 @@
./hardware-configuration.nix
];
# Enable console output on TTY1 and serial console
boot.kernelParams = [
"console=tty1"
"console=ttyS0,115200"
];
services.qemuGuest.enable = true;
}

View file

@ -15,12 +15,20 @@
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
# Enable console output on TTY1 and serial console
kernelParams = [
"console=tty1"
"console=ttyS0,115200"
];
growPartition = true;
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
options = [ "x-nixos.autoresize" "x-initrd.mount" ];
autoResize = true;
};
swapDevices = [ ];