nix-config/home/wm/i3.nix
Bruno BELANYI f57cfda767 home: wm: add i3
This is only the basic default configuration. The full configuration
will come later.

I am not a fan of `wm.windowManager`, I might rename that option at some
point.
2021-05-08 17:14:13 +02:00

16 lines
255 B
Nix

{ config, lib, ... }:
let
isEnabled = config.my.home.wm.windowManager == "i3";
in
{
config = lib.mkIf isEnabled {
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = "Mod4"; # `Super` key
};
};
};
}