infrastructure/proxmox.tjo.cloud/qcow2.nix
Tine fadd0c41d4
Some checks failed
/ lint (push) Failing after 2m17s
feat: hey it works, ish
2024-09-01 11:26:09 +02:00

18 lines
399 B
Nix

{
lib,
config,
pkgs,
modulesPath,
...
}:
{
system.build.qcow2 = import "${toString modulesPath}/../lib/make-disk-image.nix" {
inherit lib config pkgs;
name = "nixos";
diskSize = "auto";
format = "qcow2-compressed";
partitionTableType = "efi";
copyChannel = true;
configFile = pkgs.writeText "configuration.nix" (pkgs.lib.readFile ./configuration.nix);
};
}