.dotfiles/modules/nixos/client/uwsm.nix
Leon Schwarzäugl 7abc476d51
Some checks failed
Flake check / Check flake (push) Has been cancelled
feat: niri, new winters ip, mail fixes
2025-08-24 14:56:50 +02:00

24 lines
639 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";
};
niri = {
prettyName = "Niri";
comment = "Niri compositor managed by UWSM";
binPath = "/run/current-system/sw/bin/niri-session";
};
};
};
};
}