.dotfiles/modules/home/common/swayosd.nix
Leon Schwarzäugl b45746e127
Some checks failed
Build and Deploy / build (push) Has been cancelled
Flake check / Check flake (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
feat: switch to niri+noctalia
2026-02-07 03:10:47 +01:00

12 lines
364 B
Nix

{ lib, pkgs, config, confLib, ... }:
{
options.swarselmodules.swayosd = lib.mkEnableOption "swayosd settings";
config = lib.mkIf config.swarselmodules.swayosd {
systemd.user.services.swayosd = confLib.overrideTarget "sway-session.target";
services.swayosd = {
enable = true;
package = pkgs.dev.swayosd;
topMargin = 0.5;
};
};
}