vmix.nix/lib/images/debian/templates.nix

24 lines
No EOL
660 B
Nix

# create additional useful template images from upstream images
{ pkgs, lib, system, commons, upstreamImages, customs, ... }:
with commons;
with scriptsNFiles;
{
v12 = rec {
# default image with essential functionalities like ssh, networking etc
default = customizeImage upstreamImages.v12 (customs.essentials // {
name = "default";
hostname = "debian";
});
# playground with easy root access
play = customizeImage default (customs.rooted // {
name = "play";
nameToHostname = false;
});
# proxmox
proxmox = customizeImage default (customs.proxmoxOnDebian12 // {
name = "proxmox";
});
};
}