feat: add home-manager module for programs.bulkgen.enable
Expose homeManagerModules.bulkgen and homeManagerModules.default from the flake. The module provides programs.bulkgen.enable and programs.bulkgen.package options, adding bulkgen to home.packages when enabled.
This commit is contained in:
parent
6926d0492d
commit
a32e0f1b3e
2 changed files with 29 additions and 2 deletions
11
flake.nix
11
flake.nix
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
pyproject-nix,
|
||||
uv2nix,
|
||||
|
|
@ -105,14 +106,20 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
inherit (pkgs.callPackages pyproject-nix.build.util { }) mkApplication;
|
||||
in
|
||||
{
|
||||
default = mkApplication {
|
||||
rec {
|
||||
bulkgen = mkApplication {
|
||||
venv = pythonSet.mkVirtualEnv "bulkgen-env" workspace.deps.default;
|
||||
package = pythonSet.bulkgen;
|
||||
};
|
||||
default = bulkgen;
|
||||
}
|
||||
);
|
||||
|
||||
homeManagerModules = rec {
|
||||
bulkgen = import ./nix/hm-module.nix self;
|
||||
default = bulkgen;
|
||||
};
|
||||
|
||||
checks = forAllSystems (
|
||||
system:
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue