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

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

  config = mkIf cfg.enable {
    cxl = {
      apps = {
        vscode.enable = desktop.enable;
      };

      tools = {
        cloc.enable = true;
      };
    };
  };
}