17 lines
277 B
Nix
17 lines
277 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
let
|
||
|
inherit (lib) mkEnableOption mkIf;
|
||
|
|
||
|
cfg = config.custom-hm.cosmic-term;
|
||
|
in
|
||
|
{
|
||
|
options.custom-hm.cosmic-term = {
|
||
|
enable = mkEnableOption "cosmic-term";
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
home.packages = [ pkgs.cosmic-term ];
|
||
|
};
|
||
|
}
|