diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-16 09:51:16 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-16 09:52:40 +0200 |
| commit | ef0e124eabc7414023ed70e6587fe92a7769e4c5 (patch) | |
| tree | 42afc694f1b2db7ec949d5eb3a76cf2c9a7f92af /share/cfg/foot.nix | |
| parent | 589855a73eee3ecdd92a6e6987ba5670deea5bf2 (diff) | |
hyprdesktop: replace kitty with foot
Diffstat (limited to 'share/cfg/foot.nix')
| -rw-r--r-- | share/cfg/foot.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/share/cfg/foot.nix b/share/cfg/foot.nix new file mode 100644 index 0000000..310283c --- /dev/null +++ b/share/cfg/foot.nix @@ -0,0 +1,28 @@ +{ config, pkgs, ... }: +let + cfg = config.programs.foot; + foot-pkg = pkgs.symlinkJoin { + name = "foot-wrapped"; + paths = [ + pkgs.foot + (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; }) + ]; + }; +in +{ + programs.foot = { + server.enable = cfg.enable; + package = foot-pkg; + settings = { + main = { + term = "xterm-256color"; + dpi-aware = "yes"; + font = "CaskaydiaCove Nerd Font:11"; + }; + + mouse = { + hide-when-typing = "yes"; + }; + }; + }; +} |
