aboutsummaryrefslogtreecommitdiff
path: root/modules/homeModules/mako.nix
blob: d9f9ae204df794dcfe5eb1305aa6f447df225cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{inputs, ...}: {
  flake.homeModules.mako = {
    pkgs,
    config,
    lib,
    ...
  }: {
    options.customs = {
      mako.enable = lib.mkEnableOption "enable mako";
    };

    config = lib.mkIf config.customs.mako.enable {
      services.mako = {
        enable = true;
        settings = {
          anchor = "bottom-right";
          default-timeout = 5000;
          border-size = 3;
          border-radius = 7;
        };
      };
    };
  };
}