From 7e204a26a761b29f5ef90fbe2fbe17ba9042510a Mon Sep 17 00:00:00 2001 From: uku Date: Sun, 9 Jun 2024 19:26:07 +0200 Subject: [PATCH] feat(desktop): add ghostty config in hm --- configs/desktop.nix | 4 +--- programs/ghostty.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 programs/ghostty.nix diff --git a/configs/desktop.nix b/configs/desktop.nix index 49a493d..c2e5b09 100644 --- a/configs/desktop.nix +++ b/configs/desktop.nix @@ -3,11 +3,10 @@ pkgs, config, catppuccin, - ghostty, ... }: { imports = [ - ../programs/alacritty.nix + ../programs/ghostty.nix ../programs/gnome.nix ../programs/vscode.nix @@ -66,7 +65,6 @@ # font-manager chromium gimp - ghostty.packages.${pkgs.system}.default gnome.gnome-calculator gparted jetbrains.idea-ultimate diff --git a/programs/ghostty.nix b/programs/ghostty.nix new file mode 100644 index 0000000..9662ea0 --- /dev/null +++ b/programs/ghostty.nix @@ -0,0 +1,18 @@ +{ + pkgs, + ghostty, + ... +}: { + hm.home = { + packages = [ghostty.packages.${pkgs.system}.default]; + + file.".config/ghostty/config".text = '' + theme = rose-pine + font-family = Iosevka Nerd Font + font-size = 12 + + selection-foreground = #908caa + selection-background = #26233a + ''; + }; +}