parts/pkgs: init custom packages

This commit is contained in:
Charlie Root 2024-09-09 21:31:49 +02:00
commit 6e146bc0c4
2 changed files with 50 additions and 0 deletions

22
modules/shell/module.nix Normal file
View file

@ -0,0 +1,22 @@
{
config,
inputs,
lib,
pkgs,
...
}: let
test = inputs.wrapper-manager.lib.build {
inherit pkgs;
modules = [
{
wrappers = {
test = {
basePackage = pkgs.hello;
};
};
}
];
};
in {
environment.systemPackages = [test];
}