parts/pkgs: init custom packages
This commit is contained in:
parent
8d183a5cf7
commit
6e146bc0c4
2 changed files with 50 additions and 0 deletions
22
modules/shell/module.nix
Normal file
22
modules/shell/module.nix
Normal 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];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue