From 15155a8b0f5dab8694b4fb94bc951a4986ee508b Mon Sep 17 00:00:00 2001
From: punkfairie <marley@punkfairie.net>
Date: Sun, 2 Mar 2025 11:23:31 -0800
Subject: [PATCH] fix(home): Remove floorp option as it doesn't exist yet

---
 modules/home/programs/gui/floorp/default.nix | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/modules/home/programs/gui/floorp/default.nix b/modules/home/programs/gui/floorp/default.nix
index bbbdce0..b106ebc 100644
--- a/modules/home/programs/gui/floorp/default.nix
+++ b/modules/home/programs/gui/floorp/default.nix
@@ -9,11 +9,12 @@ in {
   options.marleyos.programs.floorp.enable = lib.mkEnableOption "floorp";
 
   config = lib.mkIf cfg.enable {
-    stylix.targets.floorp = {
-      enable = true;
-      colorTheme.enable = true;
-      profileNames = [config.marleyos.my.name];
-    };
+    # FIXME: switch to this once it's available
+    # stylix.targets.floorp = {
+    #   enable = true;
+    #   colorTheme.enable = true;
+    #   profileNames = [config.marleyos.my.name];
+    # };
 
     programs.floorp = {
       enable = true;
@@ -313,6 +314,13 @@ in {
 
             # 2 = auto; 1 = light; 0 = dark
             "layout.css.prefers-color-scheme.content-override" = 0;
+
+            # FIXME: Switch to stylix module once it's available for Floorp.
+            "font.name.monospace.x-western" =
+              config.stylix.fonts.monospace.name;
+            "font.name.sans-serif-x-western" =
+              config.stylix.fonts.sansSerif.name;
+            "font.name.serif.x-western" = config.stylix.fonts.serif.name;
           };
         };
       };