mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
19 lines
462 B
Nix
19 lines
462 B
Nix
{ lib, config, ... }:
|
|
let
|
|
moduleName = "uwsm";
|
|
in
|
|
{
|
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "${moduleName} settings";
|
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
|
programs.uwsm = {
|
|
enable = true;
|
|
waylandCompositors = {
|
|
sway = {
|
|
prettyName = "Sway";
|
|
comment = "Sway compositor managed by UWSM";
|
|
binPath = "/run/current-system/sw/bin/sway";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|