aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/suites/common/default.nix
blob: 63ea042564418cd2ef58befe6aa13fb3df81bbd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ options, config, lib, namespace, ... }:

with lib; with lib.${namespace}; let
  cfg = config.${namespace}.suites.common;
in {
  options.${namespace}.suites.common = with types; {
    enable = mkEnableOption "common";
  };

  config = mkIf cfg.enable {
    cxl = {
      tools = {
        bash.enable = true;
        vim.enable = true;
        git.enable = true;
        ssh.enable = true;
        gpg.enable = true;
        btop.enable = true;
        zoxide.enable = true;
      };
    };
  };
}