1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 11:26:20 +00:00
wyswort/modules/host/programs/hm/default.nix

18 lines
318 B
Nix
Raw Permalink Normal View History

2024-10-26 13:44:55 +00:00
{ inputs, lib, config, ... }:
with lib;
let cfg = config.module.programs.hm;
in {
options = { module.programs.hm.enable = mkEnableOption ""; };
config = mkIf cfg.enable {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
};
};
}