mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-14 19:14:10 -05:00
15 lines
380 B
Nix
15 lines
380 B
Nix
{ inputs, pkgs, lib, config, ...}: {
|
|
|
|
options.i3.enable = lib.mkEnableOption "enables i3";
|
|
|
|
config = lib.mkIf config.i3.enable {
|
|
xserver = {
|
|
enable = true;
|
|
windowManager.i3 = {
|
|
enable = true;
|
|
configFile = ./i3.config;
|
|
};
|
|
displayManager.lightdm.enable = false;
|
|
};
|
|
};
|
|
}
|