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

17 lines
277 B
Nix
Raw Normal View History

{ 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 ];
};
}