nixos-config/modules/home-manager/cosmic-term.nix

20 lines
279 B
Nix
Raw Permalink Normal View History

2024-08-25 09:45:58 +00:00
{
config,
pkgs,
lib,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.custom-hm.cosmic-term;
in
{
options.custom-hm.cosmic-term = {
enable = mkEnableOption "cosmic-term";
};
2024-08-25 09:45:58 +00:00
config = mkIf cfg.enable { home.packages = [ pkgs.cosmic-term ]; };
}