From 430df434c76786e87ab03c0b607c2fec8187173f Mon Sep 17 00:00:00 2001
From: Tim Keller <tjkeller.xyz>
Date: Wed, 5 Feb 2025 21:18:01 -0600
Subject: fix font bugs in theme, add gpm service

---
 modules/home/theme.nix           | 6 +++---
 modules/root/software/system.nix | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

(limited to 'modules')

diff --git a/modules/home/theme.nix b/modules/home/theme.nix
index 3bc1d8e..1575540 100644
--- a/modules/home/theme.nix
+++ b/modules/home/theme.nix
@@ -35,7 +35,7 @@ in {
 				default = "Inter";
 				description = "default sans serif font";
 			};
-			sansSerif = lib.mkOption {
+			monospace = lib.mkOption {
 				type = lib.types.str;
 				default = "CommitMono";
 				description = "default monospace font";
@@ -75,8 +75,8 @@ in {
 			platformTheme.name = "gtk3";
 		};
 		fonts.fontconfig.defaultFonts = {
-			sansSerif = [ config.theme.fonts.sansSerif ];
-			monospace = [ config.theme.fonts.monospace ];
+			sansSerif = [ config.theme.font.sansSerif ];
+			monospace = [ config.theme.font.monospace ];
 		};
 	};
 }
diff --git a/modules/root/software/system.nix b/modules/root/software/system.nix
index 18cc8dd..f0a31f2 100644
--- a/modules/root/software/system.nix
+++ b/modules/root/software/system.nix
@@ -8,4 +8,6 @@
 		python3
 		sops  # Secrets
 	];
+
+	services.gpm.enable = true;
 }
-- 
cgit v1.2.3