mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 10:42:42 +00:00
feat(nixpak): exp. nixpak
This commit is contained in:
parent
77d8c98415
commit
ef66bb76c4
7 changed files with 477 additions and 1 deletions
21
nixcfgs/hardening/nixpaks/default.nix
Normal file
21
nixcfgs/hardening/nixpaks/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mkNixPak = inputs.nixpak.lib.nixpak {
|
||||
inherit (pkgs) lib;
|
||||
inherit pkgs;
|
||||
};
|
||||
in
|
||||
{
|
||||
# Expose sandboxed app(s) through nixpkgs overlay.
|
||||
nixpkgs.overlays = [
|
||||
(_: prev: {
|
||||
nixpaks.qq = prev.callPackage ./qq.nix {
|
||||
inherit mkNixPak;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue