587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
22 lines
459 B
Nix
22 lines
459 B
Nix
{lib, pkgs, config, ...}:
|
|
|
|
let
|
|
cfg = config.services.xserver.windowManager.windowlab;
|
|
in
|
|
|
|
{
|
|
options = {
|
|
services.xserver.windowManager.windowlab.enable =
|
|
lib.mkEnableOption "windowlab";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.xserver.windowManager = {
|
|
session =
|
|
[{ name = "windowlab";
|
|
start = "${pkgs.windowlab}/bin/windowlab";
|
|
}];
|
|
};
|
|
environment.systemPackages = [ pkgs.windowlab ];
|
|
};
|
|
}
|