Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: Mako: Mako Rework broke my on-notify config. #6984

@Kraust

Description

@Kraust

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Hi, I had the following configuration:

  services.mako = {
    enable = true;
    output = "HDMI-A-1";
    anchor = "top-center";
    width = 500;
    extraConfig = ''
      [mode=default]
      on-notify=exec ${pkgs.mpv}/bin/mpv --no-video /path/to/sound.mp3
      text-alignment=center
    '';
  };

With the changes introduced in d1bbab6 I can no longer assign a custom sound file to my notifications. I'm way to tired right now to dig deeper, but if there was a way added to do this in the rework I'd greatly appreciate it, otherwise if it's no longer possible to do this, I'll have to roll my own mako config going forward.

Maintainer CC

@aguirre-matteo

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.13.12, NixOS, 25.05 (Warbler), 25.05.20250424.f771eb4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.28.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/707m8gfbdyxhg1sgkiw5x9zh84ya012r-source`

Metadata

Metadata

Labels

bugtriageIssues or feature request that have not been triaged yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions