diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:11:26 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:11:26 -0800 |
commit | 1a3486d77574c06b395ab6cda41084f5ed24a3f4 (patch) | |
tree | 69d1051bd14a0c3cb374f84a8c06cb655eba509b /nix/modules/home/mako.nix | |
parent | 2dff9d2b61244fed49136028d0e0f6ae3ae759cf (diff) |
modularized nix configuration; builds correctly
Diffstat (limited to 'nix/modules/home/mako.nix')
-rw-r--r-- | nix/modules/home/mako.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/nix/modules/home/mako.nix b/nix/modules/home/mako.nix index 3b7db8d..2a93508 100644 --- a/nix/modules/home/mako.nix +++ b/nix/modules/home/mako.nix @@ -1,13 +1,15 @@ { lib, config, ... }: { - enable = lib.mkDefault config.monorepo.profiles.home.enable; - backgroundColor = "#11111bf8"; - textColor = "#cdd6f4"; - borderColor = "#89b4faff"; - borderRadius = 1; - font = "Fira Code 10"; - defaultTimeout = 3000; - extraConfig = '' + services.mako = { + enable = true; + backgroundColor = "#11111bf8"; + textColor = "#cdd6f4"; + borderColor = "#89b4faff"; + borderRadius = 1; + font = "Fira Code 10"; + defaultTimeout = 3000; + extraConfig = '' on-notify=exec mpv /home/${config.monorepo.vars.userName}/sounds/notification.wav --no-config --no-video ''; + }; } |