aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/suites/common/default.nix
blob: 5d064561139c971a3435d498355db7116471261b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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 = {
      hardware = {
        keyboard.enable = true;
      };

      tools = {
        bash.enable = true;
        vim.enable = true;
        git.enable = true;
        misc.enable = true;
      };
    };
  };
}