disko/tests/make-disk-image-impure.nix

16 lines
356 B
Nix
Raw Normal View History

2023-07-31 09:16:45 +00:00
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
diskoLib.makeDiskImageScript {
nixosConfig = pkgs.nixos [
../module.nix
../example/simple-efi.nix
({ config, ... }: {
documentation.enable = false;
system.stateVersion = config.system.nixos.version;
})
2023-07-31 09:16:45 +00:00
];
2023-08-13 18:36:16 +00:00
checked = !pkgs.hostPlatform.isRiscV64;
2023-07-31 09:16:45 +00:00
}