mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
33 lines
687 B
Nix
33 lines
687 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (config.base16) palette;
|
|
in {
|
|
systemd.user.services = {
|
|
mako = {
|
|
Unit = {
|
|
Description = "mako";
|
|
X-Restart-Triggers = [(toString config.xdg.configFile."mako/config".source)];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.mako}/bin/mako";
|
|
Restart = "always";
|
|
};
|
|
Install = {WantedBy = ["graphical-session.target"];};
|
|
};
|
|
};
|
|
|
|
services.mako = {
|
|
enable = true;
|
|
settings = {
|
|
font = "Monaspace Krypton 10";
|
|
defaultTimeout = 3000;
|
|
borderColor = palette.base08;
|
|
backgroundColor = "${palette.base00}BF";
|
|
textColor = palette.base05;
|
|
};
|
|
};
|
|
}
|