diff --git a/home/common/desktop/default.nix b/home/common/desktop/default.nix index 9d84690..ea08710 100644 --- a/home/common/desktop/default.nix +++ b/home/common/desktop/default.nix @@ -4,6 +4,7 @@ ./firefox.nix ./kitty.nix ./gtk.nix + ./mako.nix ]; home.packages = with pkgs; [ diff --git a/home/common/desktop/firefox.nix b/home/common/desktop/firefox.nix index ca60738..641e507 100644 --- a/home/common/desktop/firefox.nix +++ b/home/common/desktop/firefox.nix @@ -1,5 +1,18 @@ { inputs, config, pkgs, ... }: { + home.packages = with pkgs; [ + fira + ]; programs.firefox = { enable = true; + + profiles ={ + "user" = { + userChrome = '' + * { + font-family: "Fira Sans"; + } + ''; + }; + }; }; } diff --git a/home/common/desktop/gtk.nix b/home/common/desktop/gtk.nix index 32eff3c..a4e6648 100644 --- a/home/common/desktop/gtk.nix +++ b/home/common/desktop/gtk.nix @@ -1,10 +1,5 @@ { config, pkgs, inputs, lib, ... }: { gtk = { enable = true; - font = { - name = config.fontProfiles.regular.family; - package = config.fontProfiles.regular.package; - size = 12; - }; }; } diff --git a/home/common/desktop/mako.nix b/home/common/desktop/mako.nix new file mode 100644 index 0000000..5e90adc --- /dev/null +++ b/home/common/desktop/mako.nix @@ -0,0 +1,13 @@ +{ config, lib, ... }: { + services.mako = { + enable = true; + font = lib.mkForce "${config.fontProfiles.regular.family} 12"; + padding = "10,20"; + anchor = "top-center"; + width = 400; + height = 150; + borderSize = 2; + defaultTimeout = 12000; + layer = "overlay"; + }; +}