From b2982efef089e9f73563649e350d9d9803798040 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 24 Oct 2025 09:34:29 +0530 Subject: [PATCH] refactor(home): use mkForce for config values and disable stylix targets --- home/apps/kitty.nix | 11 ++++++----- home/apps/zed.nix | 2 +- home/programs/fish.nix | 1 + home/programs/yazi.nix | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/home/apps/kitty.nix b/home/apps/kitty.nix index a0fb5b1d..3e1d913b 100644 --- a/home/apps/kitty.nix +++ b/home/apps/kitty.nix @@ -5,18 +5,19 @@ inputs, ... }: { + stylix.targets.kitty.enable = false; programs.kitty = { enable = true; # enable = false; font = { # name = "FiraCode Nerd Font Mono"; - # name = "Hasklug Nerd Font Mono"; + name = "Hasklug Nerd Font Mono"; # name = "Monaspace Krypton Var Light"; - size = lib.mkDefault 13; + size = lib.mkForce 13; }; settings = { - background_opacity = lib.mkDefault "0.8"; - background = lib.mkDefault "#000000"; + background_opacity = lib.mkForce "0.8"; + background = lib.mkForce "#000000"; shell = "${pkgs.fish}/bin/fish"; hide_window_decorations = "yes"; cursor_trail = 1; @@ -26,7 +27,7 @@ darwinLaunchOptions = [ "--single-instance" ]; - themeFile = "Catppuccin-Mocha"; + themeFile = lib.mkForce "Catppuccin-Mocha"; # package = inputs.nixpkgs-stable.legacyPackages.${device.system}.kitty; }; } diff --git a/home/apps/zed.nix b/home/apps/zed.nix index 0e0f2413..473fed3e 100644 --- a/home/apps/zed.nix +++ b/home/apps/zed.nix @@ -143,7 +143,7 @@ }; }; }; - theme = lib.mkDefault "Catppuccin Mocha"; + theme = lib.mkForce "Catppuccin Mocha"; }; userTasks = let zed = diff --git a/home/programs/fish.nix b/home/programs/fish.nix index 786b72b1..79bdec87 100644 --- a/home/programs/fish.nix +++ b/home/programs/fish.nix @@ -5,6 +5,7 @@ config, ... }: { + stylix.targets.fish.enable = false; programs.fish = { enable = true; shellAbbrs = { diff --git a/home/programs/yazi.nix b/home/programs/yazi.nix index 8ca593d2..5f07832c 100644 --- a/home/programs/yazi.nix +++ b/home/programs/yazi.nix @@ -9,7 +9,7 @@ enable = true; enableFishIntegration = true; enableNushellIntegration = true; - theme = lib.mkDefault builtins.fromTOML (builtins.readFile "${pkgs.catppuccinThemes.yazi}/themes/mocha.toml"); + # theme = lib.mkDefault builtins.fromTOML (builtins.readFile "${pkgs.catppuccinThemes.yazi}/themes/mocha.toml"); settings = { plugin = { prepend_preloaders = [