From 5125e96ecf9c95d39f91870c2a78ba474cb4021d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 29 Dec 2024 00:42:21 +0900 Subject: nix: generate application package build script This takes some metadata, sandbox options, a launch script and a list of home-manager modules. The result needs to be executed in an environment with nix daemon access, and it produces the final package file. Signed-off-by: Ophestra --- flake.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 60611a0d..d5bf4ae0 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,21 @@ { nixosModules.fortify = import ./nixos.nix; + fortifyBundle = forAllSystems ( + system: + nixpkgsFor.${system}.callPackage ( + import ./bundle.nix { + inherit + nixpkgsFor + system + self + nixpkgs + home-manager + ; + } + ) + ); + checks = forAllSystems ( system: let -- cgit v1.3.1