mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-26 16:44:05 -05:00
12 lines
329 B
Nix
12 lines
329 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;
|
|
};
|
|
};
|
|
};
|
|
}
|