fist commit - images lib in a working condition for debian
This commit is contained in:
commit
ad2092531c
12 changed files with 308 additions and 0 deletions
27
flake.nix
Normal file
27
flake.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue