mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
virtualisation/kubevirt: use mkImageMediaOverride...
...for filesystem 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 kubevirt --flake .#my-host`
This commit is contained in:
parent
4327e179f7
commit
2742c7163a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
];
|
||||
|
||||
config = {
|
||||
fileSystems."/" = {
|
||||
fileSystems."/" = lib.mkImageMediaOverride {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
fsType = "ext4";
|
||||
autoResize = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue