uwsm/module.nix: init
a
This commit is contained in:
parent
cdccfcbece
commit
980ccb3971
1 changed files with 25 additions and 0 deletions
25
modules/services/uwsm/module.nix
Normal file
25
modules/services/uwsm/module.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
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 = {
|
||||||
|
hyprland = {
|
||||||
|
prettyName = "Hyprland";
|
||||||
|
comment = "Hyprland managed with UWSM";
|
||||||
|
binPath = "/run/current-system/sw/bin/Hyprland";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue