1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

way-displays: fix failing use of lib.mkDefault (#6809)

The resulting YAML file is mangled by the use of `lib.mkDefault`,
causing the service to fail. But we can safely remove it anyway due to
the use of `mergeSets` here.
This commit is contained in:
Johan Larsson 2025-04-13 00:57:05 +02:00 committed by GitHub
parent b74b22bb61
commit db56335ca8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ in
yaml.generate "way-displays-config.yaml" yaml.generate "way-displays-config.yaml"
(mergeSets [ (mergeSets [
{ {
CALLBACK_CMD = lib.mkDefault "${pkgs.libnotify}/bin/notify-send \"way-displays \${CALLBACK_LEVEL}\" \"\${CALLBACK_MSG}\""; CALLBACK_CMD = "${pkgs.libnotify}/bin/notify-send \"way-displays \${CALLBACK_LEVEL}\" \"\${CALLBACK_MSG}\"";
} }
cfg.settings cfg.settings
]); ]);