mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-31 10:34:19 -05:00
18 lines
300 B
Nix
18 lines
300 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options.desktop.i3.enable = lib.mkEnableOption "enables i3";
|
|
|
|
config = lib.mkIf config.desktop.i3.enable {
|
|
services.xserver = {
|
|
displayManager.startx.enable = true;
|
|
windowManager.i3 = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|