27 lines
No EOL
692 B
Nix
27 lines
No EOL
692 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
} |