7 ../profiles/qemu-guest.nix
12 device = "/dev/disk/by-label/nixos";
16 boot.growPartition = true;
17 boot.kernelParams = [ "console=tty0" ];
18 boot.loader.grub.device = "/dev/vda";
19 boot.loader.timeout = 0;
24 settings.PermitRootLogin = "prohibit-password";
27 # Cloud-init configuration.
28 services.cloud-init.enable = true;
29 # Wget is needed for setting password. This is of little use as
30 # root password login is disabled above.
31 environment.systemPackages = [ pkgs.wget ];
32 # Only enable CloudStack datasource for faster boot speed.
33 environment.etc."cloud/cloud.cfg.d/99_cloudstack.cfg".text = ''
37 datasource_list: ["CloudStack"]