refactor(home): use mkForce for config values and disable stylix targets

This commit is contained in:
uttarayan21
2025-10-24 09:34:29 +05:30
parent 322e4e4230
commit b2982efef0
4 changed files with 9 additions and 7 deletions

View File

@@ -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;
};
}

View File

@@ -143,7 +143,7 @@
};
};
};
theme = lib.mkDefault "Catppuccin Mocha";
theme = lib.mkForce "Catppuccin Mocha";
};
userTasks = let
zed =

View File

@@ -5,6 +5,7 @@
config,
...
}: {
stylix.targets.fish.enable = false;
programs.fish = {
enable = true;
shellAbbrs = {

View File

@@ -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 = [