mirror of
https://git.sr.ht/~azikx/wyswort
synced 2024-10-30 11:26:20 +00:00
18 lines
318 B
Nix
18 lines
318 B
Nix
|
{ 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; };
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|