Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
22 lines
368 B
Nix
22 lines
368 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.modules.services.uwsm;
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.options) mkEnableOption;
|
|
in
|
|
{
|
|
options.modules.services.uwsm.enable = mkEnableOption "uwsm";
|
|
config = mkIf cfg.enable {
|
|
programs.uwsm = {
|
|
enable = true;
|
|
package = pkgs.uwsm;
|
|
waylandCompositors = {
|
|
};
|
|
};
|
|
};
|
|
}
|