dotfiles/modules/nixos/desktop/addons/mako/default.nix

36 lines
625 B
Nix
Raw Normal View History

2023-03-19 15:27:28 +00:00
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.desktop.addons.mako;
in {
options.aa.desktop.addons.mako = with types; {
enable = mkEnableOption "mako";
};
config = mkIf cfg.enable {
2023-05-28 02:25:52 +00:00
aa.system.fonts.enable = true;
2023-03-19 15:27:28 +00:00
environment.systemPackages = with pkgs; [mako libnotify];
aa.home.extraOptions = {
services.mako = {
2023-03-19 15:27:28 +00:00
enable = true;
font = "'Hack Nerd Font' Regular 9";
backgroundColor = "#1D2021F0";
textColor = "#FFFFDF";
borderColor = "#1C1C1C";
borderRadius = 10;
padding = "10";
};
};
};
}