home-manager/shell: add cosmic-term and change ls colors

This commit is contained in:
xinyangli 2024-08-24 13:43:37 +08:00
parent 553622ac66
commit a2422d1f4e
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
5 changed files with 36 additions and 16 deletions

View file

@ -0,0 +1,16 @@
{ 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 ];
};
}