aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/suites/desktop/default.nix
blob: 09dd4e36922afbc01138e4b68fd25b184017c8e3 (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.desktop;
in {
  options.${namespace}.suites.desktop = with types; {
    enable = mkEnableOption "desktop";
  };

  config = mkIf cfg.enable {
    cxl = {
      hardware = {
        audio.enable = true;
        keyboard.jp = true;
      };

      apps = {
        i3.enable = true;
        playerctl.enable = true;
      };

      fonts.enable = true;
    };
  };
}