mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
Merge pull request #63 from DavHau/raw-improvements
add usb kernel module to raw formats; remove use of mkForce
This commit is contained in:
commit
d2db6ad1dc
@ -8,7 +8,7 @@
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
|
||||
system.build.raw = lib.mkForce (import "${toString modulesPath}/../lib/make-disk-image.nix" {
|
||||
system.build.raw = lib.mkOverride 999 (import "${toString modulesPath}/../lib/make-disk-image.nix" {
|
||||
inherit lib config pkgs;
|
||||
partitionTableType = "efi";
|
||||
diskSize = 2048;
|
||||
|
@ -6,10 +6,13 @@
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.growPartition = true;
|
||||
boot.kernelParams = [ "console=ttyS0" ];
|
||||
boot.loader.grub.device = lib.mkDefault "/dev/vda";
|
||||
boot.loader.timeout = 0;
|
||||
boot = {
|
||||
growPartition = true;
|
||||
kernelParams = [ "console=ttyS0" ];
|
||||
loader.grub.device = lib.mkDefault "/dev/vda";
|
||||
loader.timeout = 0;
|
||||
initrd.availableKernelModules = [ "uas" ];
|
||||
};
|
||||
|
||||
|
||||
system.build.raw = import "${toString modulesPath}/../lib/make-disk-image.nix" {
|
||||
|
Loading…
Reference in New Issue
Block a user