aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-29 00:42:21 +0900
committerOphestra <cat@gensokyo.uk>2024-12-29 00:42:21 +0900
commit5125e96ecf9c95d39f91870c2a78ba474cb4021d (patch)
treede352c5f77355f8d24550de04a16b67de7d310b9 /flake.nix
parente0e2f40e84a5a63a2ea220a0974ac56e6a52c48a (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 15 insertions, 0 deletions
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