Files
nix/modules/nixos/programs/nih/default.nix
Gustavo "Guz" L. de Mello 5ce99497d7 refactor!: I went too close into the sun
Simlified everything, things were getting out of control
2024-04-08 16:37:29 -03:00

24 lines
340 B
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.programs.nih;
in {
imports = [
./cli.nix
];
options.programs.nih = with lib;
with lib.types; {
enable = mkEnableOption "";
host = mkOption {
type = str;
};
flakeDir = mkOption {
type = str;
};
};
config = with lib; mkIf cfg.enable {};
}