Merge pull request #115391 from kfollesdal/autoresize-azure

nixos/virtualisation/azure-common: add auto resize of os disk
This commit is contained in:
Lassulus
2022-04-10 11:25:22 +01:00
committed by GitHub
@@ -21,7 +21,11 @@ with lib;
# way to select them anyway.
boot.loader.grub.configurationLimit = 0;
fileSystems."/".device = "/dev/disk/by-label/nixos";
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
autoResize = true;
};
# Allow root logins only using the SSH key that the user specified
# at instance creation time, ping client connections to avoid timeouts