disko/tests/make-disk-image.nix

15 lines
336 B
Nix
Raw Normal View History

2023-07-28 15:04:42 +03:00
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
2023-09-14 18:06:31 +03:00
diskoLib.makeDiskImages {
2023-07-28 15:04:42 +03:00
nixosConfig = pkgs.nixos [
../module.nix
../example/simple-efi.nix
({ config, ... }: {
documentation.enable = false;
system.stateVersion = config.system.nixos.version;
disko.memSize = 2048;
})
2023-07-28 15:04:42 +03:00
];
}