From 54ea99d44cb20438b6a8cdba1358972a4609dc6b Mon Sep 17 00:00:00 2001 From: uku Date: Sun, 23 Feb 2025 17:57:41 +0100 Subject: [PATCH] chore(programs/ghostty): switch to home manager module --- programs/ghostty.nix | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/programs/ghostty.nix b/programs/ghostty.nix index 9594049..bb7ae9c 100644 --- a/programs/ghostty.nix +++ b/programs/ghostty.nix @@ -1,15 +1,14 @@ { - pkgs, - ... -}: -{ - environment.systemPackages = [ pkgs.ghostty ]; - - hm.home.file.".config/ghostty/config".text = '' - theme = light:catppuccin-latte,dark:catppuccin-mocha - font-family = Iosevka Term - font-size = 12 - font-feature = -calt - font-feature = -dlig - ''; + hm.programs.ghostty = { + enable = true; + settings = { + theme = "light:catppuccin-latte,dark:catppuccin-mocha"; + font-family = "Iosevka Term"; + font-size = 12; + font-feature = [ + "-calt" + "-dlig" + ]; + }; + }; }