aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/suites/common/default.nix
blob: 1e7a053fcfd74f4cc874fd217bbbeee7bc6392c4 (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
25
{ 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;
        rebuild.enable = true;
      };
    };
  };
}