diff --git a/flake.nix b/flake.nix index 4bbe848..c7b3bc3 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,14 @@ }; in { + apps.publish = let + program = pkgs.writeShellScript "publish" '' + cp -r ${self.packages.${system}.blog} public + ''; + in { + type = "app"; + program = "${program}"; + }; packages = { inherit blog; };