disko/tests/make-disk-image.nix

14 lines
307 B
Nix
Raw Normal View History

2023-07-28 12:04:42 +00:00
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
diskoLib.makeDiskImage {
nixosConfig = pkgs.nixos [
../module.nix
../example/simple-efi.nix
({ config, ... }: {
documentation.enable = false;
system.stateVersion = config.system.nixos.version;
})
2023-07-28 12:04:42 +00:00
];
}