Set boot.growPartition = true
This commit is contained in:
parent
aed6df2954
commit
3f9cdc0943
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 = [ ];
|
||||
|
|
Loading…
Reference in a new issue