All my system configs and packages in one repo
1{
2 inputs,
3 pkgs,
4 ...
5}:
6{
7 hjem.users.leah = {
8 # Required by apps like Fuzzel for determing the default terminal
9 environment.sessionVariables.TERMINAL = "ghostty";
10 systemd.targets.graphical-session.wants = [
11 "app-com.mitchellh.ghostty.service"
12 ];
13
14 rum.programs.ghostty = {
15 enable = true;
16 package = inputs.ghostty.packages.${pkgs.stdenv.hostPlatform.system}.ghostty;
17
18 settings = {
19 font-family = "Iosevka";
20 font-size = 14;
21
22 background = "#1e1e2e";
23
24 window-decoration = "client";
25 window-theme = "ghostty";
26
27 unfocused-split-opacity = 0.8;
28 background-opacity = 0.85;
29 background-blur = true;
30
31 # Massively improves the nvim experience
32 mouse-hide-while-typing = true;
33
34 quick-terminal-size = "30%";
35 quick-terminal-autohide = true;
36
37 keybind = [
38 "ctrl+shift+up=new_split:up"
39 "ctrl+shift+down=new_split:down"
40 "ctrl+shift+left=new_split:left"
41 "ctrl+shift+right=new_split:right"
42 "alt+shift+left=next_tab"
43 "alt+shift+right=previous_tab"
44 "global:ctrl+backquote=toggle_quick_terminal"
45 ];
46 };
47 };
48 };
49}