From 58fc5b6b8d3ff1c85435ff2631892008476ad4bb Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Thu, 10 Oct 2024 22:07:40 +0200 Subject: [PATCH] chore: fix kitty syntax change --- modules/home/apps/kitty/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/home/apps/kitty/default.nix b/modules/home/apps/kitty/default.nix index 3aa067d..b1d1268 100644 --- a/modules/home/apps/kitty/default.nix +++ b/modules/home/apps/kitty/default.nix @@ -1,32 +1,32 @@ { - lib, config, + lib, + namespace, pkgs, ... }: -with lib; -with lib.wyrdgard; let - cfg = config.wyrdgard.apps.kitty; + inherit (lib) mkIf mkEnableOption; + cfg = config.${namespace}.apps.kitty; in { - options.wyrdgard.apps.kitty = { - enable = mkEnableOption "Kity"; + options.${namespace}.apps.kitty = { + enable = mkEnableOption "Kitty"; }; config = mkIf cfg.enable { - home.packages = with pkgs; [ kitty ]; + home.packages = [ pkgs.kitty ]; programs.kitty = { enable = true; - theme = "Tokyo Night"; + themeFile = "tokyo_night_night"; font = { name = "Code New Roman"; size = 15; }; shellIntegration.enableFishIntegration = true; settings = { - "background_opacity" = "0.95"; + "background_opacity" = "0.90"; "shell" = "fish"; "confirm_os_window_close" = "0"; };