From c2ddc5f54498e026f8498b45533b21b61a93a08f Mon Sep 17 00:00:00 2001 From: Foo the Frog Date: Wed, 26 Jun 2024 17:31:45 +0600 Subject: [PATCH] Init kitty terminal config --- .../users/foo/home-depot/packages/default.nix | 2 -- .../users/foo/home-depot/programs/default.nix | 1 + .../users/foo/home-depot/programs/kitty.nix | 22 +++++++++++++++++++ .../users/foo/home-depot/programs/nushell.nix | 5 +++-- 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 modules/environment/users/foo/home-depot/programs/kitty.nix diff --git a/modules/environment/users/foo/home-depot/packages/default.nix b/modules/environment/users/foo/home-depot/packages/default.nix index 855d41e..255c00a 100644 --- a/modules/environment/users/foo/home-depot/packages/default.nix +++ b/modules/environment/users/foo/home-depot/packages/default.nix @@ -1,7 +1,5 @@ {pkgs, ...}: { home.packages = with pkgs; [ - kitty - bat bottom eza diff --git a/modules/environment/users/foo/home-depot/programs/default.nix b/modules/environment/users/foo/home-depot/programs/default.nix index a9aa4a1..4d0a6c9 100644 --- a/modules/environment/users/foo/home-depot/programs/default.nix +++ b/modules/environment/users/foo/home-depot/programs/default.nix @@ -3,6 +3,7 @@ imports = [ ./helix.nix ./nushell.nix + ./kitty.nix ./xdg.nix ]; gtk = { diff --git a/modules/environment/users/foo/home-depot/programs/kitty.nix b/modules/environment/users/foo/home-depot/programs/kitty.nix new file mode 100644 index 0000000..275be03 --- /dev/null +++ b/modules/environment/users/foo/home-depot/programs/kitty.nix @@ -0,0 +1,22 @@ +_: { + programs.kitty = { + enable = true; + + font = { + name = "0xProto Nerd Font"; + size = 12; # in pts + }; + + theme = "Cyberpunk Neon"; + + settings = { + enable_audio_bell = false; + + disable_ligatures = "never"; + }; + + extraConfig = '' + include current-theme.conf + ''; + }; +} diff --git a/modules/environment/users/foo/home-depot/programs/nushell.nix b/modules/environment/users/foo/home-depot/programs/nushell.nix index 8e7b2ba..da65458 100644 --- a/modules/environment/users/foo/home-depot/programs/nushell.nix +++ b/modules/environment/users/foo/home-depot/programs/nushell.nix @@ -23,9 +23,8 @@ _: { # }; extraEnv = '' - # Disable Nushell welcome message $env.config = { - show_banner: false, + show_banner: false, # Disable welcome message } ''; }; @@ -73,6 +72,8 @@ _: { renamed = "r"; deleted = "x"; }; + + battery.disabled = true; }; };