From c352306491020b1787f1f5fa9d32ce15db83ef95 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 7 Sep 2024 01:24:57 +0300 Subject: [PATCH] feat(tazjin/home): configure chicago95 theme in home-manager Finally no more setting this up manually! Change-Id: I75d7a53623cc05a0a88f70e20e881a944b6ed818 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12446 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/home/shared.nix | 14 ++++++++++++++ users/tazjin/nixos/modules/fonts.nix | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/users/tazjin/home/shared.nix b/users/tazjin/home/shared.nix index c80a10945..5cbc4b98f 100644 --- a/users/tazjin/home/shared.nix +++ b/users/tazjin/home/shared.nix @@ -5,6 +5,8 @@ let + inherit (depot.third_party) chicago95; + # URL handler to open `tg://` URLs in telega.el telega-launcher = pkgs.writeShellScriptBin "telega-launcher" '' echo "Opening ''${1} in telega.el ..." @@ -91,6 +93,18 @@ in ''; }; + gtk = { + enable = true; + theme.name = "Chicago95"; + theme.package = chicago95; + + iconTheme.name = "Chicago95-tux"; + iconTheme.package = chicago95; + + cursorTheme.name = "Chicago95_Animated_Hourglass_Cursors_HiDPI"; + cursorTheme.package = chicago95; + }; + systemd.user.startServices = true; # Previous default version, see https://github.com/nix-community/home-manager/blob/master/docs/release-notes/rl-2211.adoc diff --git a/users/tazjin/nixos/modules/fonts.nix b/users/tazjin/nixos/modules/fonts.nix index c09d21e7d..1a979770c 100644 --- a/users/tazjin/nixos/modules/fonts.nix +++ b/users/tazjin/nixos/modules/fonts.nix @@ -1,6 +1,6 @@ # Attempt at configuring reasonable font-rendering. -{ pkgs, ... }: +{ depot, pkgs, ... }: { fonts = { @@ -12,6 +12,7 @@ noto-fonts-cjk noto-fonts-color-emoji noto-fonts-monochrome-emoji + depot.third_party.chicago95 ]; fontconfig = {