nix: generate application package build script
All checks were successful
Tests / Go tests (push) Successful in 55s
Nix / NixOS tests (push) Successful in 4m24s

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>
This commit is contained in:
2024-12-29 00:42:21 +09:00
parent e0e2f40e84
commit 5125e96ecf
3 changed files with 177 additions and 0 deletions

View File

@@ -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