aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/modules/workstation/ui/i3/config.nix
blob: 248b15ebd22b780ff42c9b1bf03d56f2ab3271f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**    A base configuration template for i3
 *
 *  This set of configuration values is meant to work on _all_
 *  systems.  No device specifics are included.  This set must be
 *  merged with device specific options before being applied
 */
{ config, pkgs, ... } @ args:

let
  cfg = config.libkookie.ui.i3;
  xtraPkgs = pkgs // (import ./tools args);
in
{
  # This is not configurable by design
  modifier = "Mod4";
  
  inherit (cfg) fonts;
  
  keybindings = (import ./keys.nix { inherit modifier;
                                     pkgs = xtraPkgs; });
}