From 6bc66daed8afcd52713d71e912d4ab98d76e5c03 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 14 Jul 2024 20:51:05 +0200 Subject: [PATCH] Add OCI container output to flake --- flake.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index fb651e0..7bcb7d4 100644 --- a/flake.nix +++ b/flake.nix @@ -82,6 +82,19 @@ ]; }; default = li7y; + + li7y-oci = pkgs.dockerTools.buildLayeredImage { + name = "git.sbruder.de/simon/li7y"; + tag = "latest"; + + contents = [ + li7y + ]; + + config = { + Cmd = [ "${li7y}/bin/li7y" ]; + }; + }; }; devShells.default = pkgs.mkShell {