0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Revert "Use mkImageMediaOverride for filesystem attributes of various images"

This commit is contained in:
illustris 2025-04-29 08:41:26 +05:30 committed by GitHub
parent 81229d1108
commit 5803bdb9fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 63 additions and 81 deletions

View file

@ -73,17 +73,15 @@ in
inherit config lib pkgs;
};
fileSystems = lib.mkImageMediaOverride {
"/" = {
device = "/dev/disk/by-label/nixos";
autoResize = true;
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
autoResize = true;
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
boot.growPartition = true;