overview backdrop: test pattern, niri layer-rule in hm-module

This commit is contained in:
Damocles 2026-04-12 23:20:38 +02:00
parent 622f06249c
commit 7ea1eed8bf
4 changed files with 91 additions and 0 deletions

View file

@ -192,6 +192,14 @@ in
in
(pkgs.formats.json { }).generate "nova-shell-theme.json" finalTheme;
# Niri layer rules for backdrop placement (requires niri-flake hm module)
programs.niri.settings.layer-rules = lib.mkIf (config ? programs && config.programs ? niri) [
{
matches = [ { namespace = "^nova-overview-backdrop$"; } ];
place-within-backdrop = true;
}
];
systemd.user.services.nova-shell = lib.mkIf cfg.systemd.enable {
Unit = {
Description = "nova-shell Quickshell bar";