Move ghostty configuration

This commit is contained in:
Oliver Davies 2025-01-04 16:11:51 +00:00
parent 3b2ffa783c
commit 6154af49b7
2 changed files with 19 additions and 15 deletions

17
ghostty/config Normal file
View file

@ -0,0 +1,17 @@
adjust-cell-height = 25%
background = #000000
cursor-style-blink = false
# Disable ligatures.
font-feature = -calt
font-feature = -liga
font-feature = -dlig
font-size = 15
window-decoration = false
window-padding-x = 10
window-padding-y = 10

View file

@ -2,6 +2,7 @@
config,
inputs,
lib,
self,
system,
...
}:
@ -19,20 +20,6 @@ in
config = mkIf cfg.enable {
home.packages = [ pkgs-master.ghostty ];
xdg.configFile."ghostty/config".text = ''
background = #000000
# Disable ligatures.
font-feature = -calt
font-feature = -liga
font-feature = -dlig
font-size = 15
window-decoration = false
window-padding-x = 10
window-padding-y = 10
'';
xdg.configFile."ghostty/config".source = "${self}/ghostty/config";
};
}