about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2024-09-06T22·24+0300
committertazjin <mail@tazj.in>2024-09-07T11·40+0000
commitc352306491020b1787f1f5fa9d32ce15db83ef95 (patch)
treee3ae17c8579393096b4fffd64ceb9ee1bfa882a2
parent732b46c6fa1b257042f9b238329fe557aa390adb (diff)
feat(tazjin/home): configure chicago95 theme in home-manager r/8660
Finally no more setting this up manually!

Change-Id: I75d7a53623cc05a0a88f70e20e881a944b6ed818
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12446
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/home/shared.nix14
-rw-r--r--users/tazjin/nixos/modules/fonts.nix3
2 files changed, 16 insertions, 1 deletions
diff --git a/users/tazjin/home/shared.nix b/users/tazjin/home/shared.nix
index c80a10945fa3..5cbc4b98f068 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 c09d21e7dd09..1a979770c480 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 = {