aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/modules/workstation/ui/i3/config.nix
blob: 7d6e7e8932b1673738108ef9fd7010bece392b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**    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
rec {
  # This is not configurable by design
  modifier = "Mod4";
  
  inherit (cfg) fonts;
  
  keybindings = (import ./keys.nix { inherit modifier;
                                     pkgs = xtraPkgs; });
}