34 lines
611 B
Nix
34 lines
611 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
flake,
|
|
...
|
|
}:
|
|
with lib; let
|
|
psCfg = config.pub-solar;
|
|
in {
|
|
home-manager.users."${psCfg.user.name}" = {
|
|
services.mako = {
|
|
enable = true;
|
|
extraConfig = with flake.self.theme.withHashtag; ''
|
|
padding=10
|
|
margin=5,5,0
|
|
default-timeout=5000
|
|
|
|
background-color=${base00}
|
|
text-color=${base05}
|
|
border-color=${base07}
|
|
font=Hack 14
|
|
|
|
[urgency=high]
|
|
background-color=${base07}
|
|
text-color=${base00}
|
|
border-color=${base00}
|
|
layer=overlay
|
|
font=Hack 14
|
|
'';
|
|
};
|
|
};
|
|
}
|