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.
This commit is contained in:
Bruno BELANYI 2021-04-02 19:03:29 +00:00
parent ff4745e1e6
commit ca48df5674
3 changed files with 31 additions and 0 deletions

15
home/wm/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ lib, ... }:
{
imports = [
./i3.nix
];
options.my.home.wm = with lib; {
windowManager = mkOption {
type = with types; nullOr (enum [ "i3" ]);
default = null;
example = "i3";
description = "Which window manager to use for home session";
};
};
}