fist commit - images lib in a working condition for debian

This commit is contained in:
Sagar Ch 2024-05-23 16:33:38 +00:00
commit ad2092531c
12 changed files with 308 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# 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";
});
};
}