749 current 2024-06-15 16:05:25 24.11.20240615.24b048f 6.9.3-zen1 *
This commit is contained in:
parent
7df8db13d9
commit
b169d37282
7 changed files with 65 additions and 43 deletions
|
|
@ -51,7 +51,6 @@ in {
|
|||
lua-language-server
|
||||
nixd
|
||||
rust-analyzer
|
||||
nodePackages.bash-language-server
|
||||
vscode-langservers-extracted
|
||||
nodePackages.vscode-json-languageserver
|
||||
nodePackages.typescript-language-server
|
||||
|
|
|
|||
22
modules/home/apps/tools/ohmyposh/default.nix
Normal file
22
modules/home/apps/tools/ohmyposh/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.custom; let
|
||||
cfg = config.apps.tools.ohmyposh;
|
||||
in {
|
||||
options.apps.tools.ohmyposh = with types; {
|
||||
enable = mkBoolOpt false "Enable OhMyPosh";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
useTheme = "catppuccin";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -18,18 +18,19 @@ in {
|
|||
dreamsofcode-io-catppuccin-tmux =
|
||||
pkgs.tmuxPlugins.mkTmuxPlugin
|
||||
{
|
||||
pluginName = "catppuccin";
|
||||
version = "unstable-2023-01-06";
|
||||
pluginName = "tokyo-night-tmux";
|
||||
version = "v1.5.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "dreamsofcode-io";
|
||||
repo = "catppuccin-tmux";
|
||||
rev = "b4e0715356f820fc72ea8e8baf34f0f60e891718";
|
||||
sha256 = "sha256-FJHM6LJkiAwxaLd5pnAoF3a7AE1ZqHWoCpUJE0ncCA8=";
|
||||
owner = "janoamaral";
|
||||
repo = "tokyo-night-tmux";
|
||||
rev = "v1.5.3";
|
||||
sha256 = "sha256-3rMYYzzSS2jaAMLjcQoKreE0oo4VWF9dZgDtABCUOtY=";
|
||||
};
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
catppuccin.enable = false;
|
||||
historyLimit = 100000;
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
sessionVariables = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue