Update system

This commit is contained in:
outfoxxed 2023-10-15 15:14:36 -07:00
parent a9698856a9
commit 84fa5d8522
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 100 additions and 73 deletions

File diff suppressed because one or more lines are too long

27
modules/user/nixpak.nix Normal file
View file

@ -0,0 +1,27 @@
{ inputs, lib, pkgs, ... }: let
mkNixpak = inputs.nixpak.lib.nixpak {
inherit lib pkgs;
};
in {
nixpkgs.overlays = [(final: prev: {
sandbox = {
kwrite = let
np = mkNixpak {
config = {
app.package = prev.kate;
};
};
in np.config.env;
curl = let
np = mkNixpak {
config = {
dbus.enable = false;
bubblewrap.network = false;
app.package = pkgs.writeShellScriptBin "kurl" "${final.curl}/bin/curl \"$@\"";
};
};
in np.config.env;
};
})];
}