Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
23
utils.nix
23
utils.nix
|
@ -1,11 +1,22 @@
|
|||
{ pkgs, nixpkgs, nixng, globals, ... }: {
|
||||
mkNixNGImage = name: file:
|
||||
let
|
||||
stream = (import file {
|
||||
{
|
||||
pkgs,
|
||||
nixpkgs,
|
||||
nixng,
|
||||
globals,
|
||||
...
|
||||
}: {
|
||||
mkNixNGImage = name: file: let
|
||||
stream =
|
||||
(import file {
|
||||
inherit nixpkgs nixng globals;
|
||||
inherit (nixng) nglib;
|
||||
}).config.system.build.ociImage.stream;
|
||||
in
|
||||
})
|
||||
.config
|
||||
.system
|
||||
.build
|
||||
.ociImage
|
||||
.stream;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "${name}.tar";
|
||||
src = stream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue