From 53bf108799b74037e346289440a981ab3d2ad2a8 Mon Sep 17 00:00:00 2001 From: aaron Date: Tue, 27 Jan 2026 13:34:47 +0100 Subject: [PATCH] feature(ghostty): add home-manager module for ghostty --- modules/home-manager/ghostty.nix | 20 ++++++++++++++++++++ users/aaron/home.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 modules/home-manager/ghostty.nix diff --git a/modules/home-manager/ghostty.nix b/modules/home-manager/ghostty.nix new file mode 100644 index 0000000..65436bd --- /dev/null +++ b/modules/home-manager/ghostty.nix @@ -0,0 +1,20 @@ +{ config, pkgs, inputs, ... }: + +{ + programs.ghostty = { + enable = true; + settings = { + clipboard-paste-protection = false; + clipboard-read = "allow"; + font-family = "0xProto Nerd Font Mono"; + font-size = 9; + gtk-titlebar = false; + scrollback-limit = 10000; + shell-integration = "zsh"; + theme = "noctalia"; # generated by noctalia-shell + window-decoration = "auto"; + window-padding-x = 10; + window-padding-y = 10; + }; + }; +} diff --git a/users/aaron/home.nix b/users/aaron/home.nix index ed21211..791a600 100644 --- a/users/aaron/home.nix +++ b/users/aaron/home.nix @@ -4,6 +4,7 @@ imports = [ ../../modules/home-manager/fonts.nix ../../modules/home-manager/git.nix + ../../modules/home-manager/ghostty.nix ../../modules/home-manager/nixvim.nix ../../modules/home-manager/programs.nix ../../modules/home-manager/shell.nix -- 2.47.3