b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
24 lines
475 B
Nix
24 lines
475 B
Nix
{lib, pkgs, config, ...}:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.services.xserver.windowManager.openbox;
|
|
in
|
|
|
|
{
|
|
options = {
|
|
services.xserver.windowManager.openbox.enable = mkEnableOption (lib.mdDoc "openbox");
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.xserver.windowManager = {
|
|
session = [{
|
|
name = "openbox";
|
|
start = "
|
|
${pkgs.openbox}/bin/openbox-session
|
|
";
|
|
}];
|
|
};
|
|
environment.systemPackages = [ pkgs.openbox ];
|
|
};
|
|
}
|