2022-09-26 13:27:59 +00:00
|
|
|
with builtins;
|
|
|
|
|
2022-09-24 03:24:58 +00:00
|
|
|
{}:
|
|
|
|
let
|
2022-09-26 13:27:59 +00:00
|
|
|
myisoconfig = import ./hosts/_basic.nix;
|
2022-09-24 03:24:58 +00:00
|
|
|
|
|
|
|
copyChannel = true;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
evalNixos = configuration: import <nixpkgs/nixos> {
|
|
|
|
inherit system configuration;
|
|
|
|
};
|
|
|
|
resultOfEval = (evalNixos myisoconfig);
|
|
|
|
lib = resultOfEval.pkgs.lib;
|
|
|
|
pkgs = resultOfEval.pkgs;
|
|
|
|
config = resultOfEval.config;
|
|
|
|
in
|
|
|
|
import <nixpkgs/nixos/lib/make-disk-image.nix> {
|
|
|
|
inherit lib copyChannel pkgs config;
|
|
|
|
diskSize = "20480";
|
|
|
|
format = "raw";
|
|
|
|
installBootLoader = true;
|
|
|
|
partitionTableType = "hybrid";
|
|
|
|
}
|