2024-08-31 17:48:38 +00:00
|
|
|
{
|
2024-09-01 08:10:21 +00:00
|
|
|
description = "Basic NixOS qcow2 image with CloudInit for Proxmox";
|
2024-08-31 17:48:38 +00:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
|
|
};
|
|
|
|
outputs =
|
2024-09-01 08:10:21 +00:00
|
|
|
{ self, nixpkgs }:
|
2024-08-31 17:48:38 +00:00
|
|
|
{
|
2024-09-01 08:10:21 +00:00
|
|
|
nixosConfigurations = {
|
|
|
|
build-qcow2 = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2024-09-01 09:26:09 +00:00
|
|
|
./qcow2.nix
|
2024-09-01 08:10:21 +00:00
|
|
|
./configuration.nix
|
|
|
|
];
|
2024-08-31 17:48:38 +00:00
|
|
|
};
|
2024-09-01 08:10:21 +00:00
|
|
|
};
|
2024-08-31 17:48:38 +00:00
|
|
|
};
|
|
|
|
}
|