aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/foot.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-16 09:51:16 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-16 09:52:40 +0200
commitef0e124eabc7414023ed70e6587fe92a7769e4c5 (patch)
tree42afc694f1b2db7ec949d5eb3a76cf2c9a7f92af /share/cfg/foot.nix
parent589855a73eee3ecdd92a6e6987ba5670deea5bf2 (diff)
hyprdesktop: replace kitty with foot
Diffstat (limited to 'share/cfg/foot.nix')
-rw-r--r--share/cfg/foot.nix28
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";
+ };
+ };
+ };
+}