mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
virtualisation/google-compute-config: use mkImageMediaOverride...
...for filesystem and bootloader options. Before this change, users would typically encounter conflicting option definitions when trying to build an image for a generic nixos closure, i.e. `nixos-rebuild build-image --image-variant google-compute-config --flake .#my-host`
This commit is contained in:
parent
bf2b3f0286
commit
6f83796aa5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ in
|
|||
../profiles/qemu-guest.nix
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
fileSystems."/" = lib.mkImageMediaOverride {
|
||||
fsType = "ext4";
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
autoResize = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue