{ description = "builds a qemu image and qemu command scripts to run with systemd services"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; }; outputs = { self, nixpkgs, ... }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; lib = pkgs.lib; vmixLib = (import ./lib { inherit pkgs lib system; }); in { packages."${system}" = with vmixLib; rec { playfuldeb = customizeImage images.debian.v12.play { name = "playfulness"; }; nixmox = customizeImage images.debian.v12.proxmox (images.debian.customs.rooted // { name = "nixmox"; }); default = playfuldeb; }; }; }