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