nixcfg/homeManagerModules/guiApps/mako/default.nix

29 lines
626 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {guiApps.mako.enable = lib.mkEnableOption "Enables mako.";};
2024-03-28 19:52:15 -04:00
config = lib.mkIf config.guiApps.mako.enable {
2024-04-07 22:16:33 -04:00
home.packages = with pkgs; [(nerdfonts.override {fonts = ["Noto"];})];
2024-03-28 19:52:15 -04:00
services.mako = {
enable = true;
anchor = "top-center";
backgroundColor = "#232634CC";
borderColor = "#ca9ee6";
borderRadius = 10;
defaultTimeout = 10000;
font = "NotoSans Nerd Font Regular 10";
height = 300;
layer = "top";
padding = "15";
textColor = "#FAFAFA";
width = 400;
margin = "20,0";
};
};
}