Various Terminal Changes
- Kakoune tab completion - Kakoune kitty terminal open - Kitty keybinds - Saner shell variable - Yazi file manager - Flake system (it will keep switching back until I find a fix) - Hardcoded linux gpus, will fix to an if statement
This commit is contained in:
1 parent
94b73b6d67
commit
f60301981c
7 files changed
+194
-75
No files matched your search
+63
-55
@@ -1,62 +1,70 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.bash.enable = true;
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs.bat-extras; [ batdiff batman ];
|
||||
options.shellpath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "${config.home.homeDirectory}/.nix-profile/bin/bash";
|
||||
description = "Local path to shell";
|
||||
};
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = null;
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = lib.concatStringsSep " " [
|
||||
"$nix_shell"
|
||||
"$directory"
|
||||
"$git_branch"
|
||||
"$git_status"
|
||||
"$git_commit"
|
||||
"$status"
|
||||
"$fill"
|
||||
"$lua"
|
||||
"$rust"
|
||||
"$golang"
|
||||
"$haskell"
|
||||
"$jobs"
|
||||
"$cmd_duration"
|
||||
"$line_break"
|
||||
"$character"];
|
||||
|
||||
nix_shell.format = "[nix]($style)";
|
||||
directory.truncation_length = 2;
|
||||
git_branch = {
|
||||
format = "[$branch(:$remote_branch)]($style)";
|
||||
ignore_branches = ["master" "main"];
|
||||
};
|
||||
git_status.format = "([\\[$all_status$ahead_behind\\]]($style))";
|
||||
git_commit.format = "[\\[#$hash$tag\\]]($style)";
|
||||
status = {
|
||||
format = "[\\[$status\\]]($style)";
|
||||
disabled = false;
|
||||
};
|
||||
fill.symbol = " ";
|
||||
lua = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
detect_files = [".lua-version" ".luarc.json"];
|
||||
};
|
||||
rust = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
};
|
||||
haskell.format = "[($ghc_version)]($style)";
|
||||
cmd_duration.format = "[$duration]($style) ";
|
||||
character = {
|
||||
success_symbol = "[>](bold #a6e3a1)";
|
||||
error_symbol = "[>](bold #f38ba8)";
|
||||
config = {
|
||||
programs.bash.enable = true;
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs.bat-extras; [ batdiff batman ];
|
||||
};
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = null;
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = lib.concatStringsSep " " [
|
||||
"$nix_shell"
|
||||
"$directory"
|
||||
"$git_branch"
|
||||
"$git_status"
|
||||
"$git_commit"
|
||||
"$status"
|
||||
"$fill"
|
||||
"$lua"
|
||||
"$rust"
|
||||
"$golang"
|
||||
"$haskell"
|
||||
"$jobs"
|
||||
"$cmd_duration"
|
||||
"$line_break"
|
||||
"$character"];
|
||||
|
||||
nix_shell.format = "[nix]($style)";
|
||||
directory.truncation_length = 2;
|
||||
git_branch = {
|
||||
format = "[$branch(:$remote_branch)]($style)";
|
||||
ignore_branches = ["master" "main"];
|
||||
};
|
||||
git_status.format = "([\\[$all_status$ahead_behind\\]]($style))";
|
||||
git_commit.format = "[\\[#$hash$tag\\]]($style)";
|
||||
status = {
|
||||
format = "[\\[$status\\]]($style)";
|
||||
disabled = false;
|
||||
};
|
||||
fill.symbol = " ";
|
||||
lua = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
detect_files = [".lua-version" ".luarc.json"];
|
||||
};
|
||||
rust = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
};
|
||||
haskell.format = "[($ghc_version)]($style)";
|
||||
cmd_duration.format = "[$duration]($style) ";
|
||||
character = {
|
||||
success_symbol = "[>](bold #a6e3a1)";
|
||||
error_symbol = "[>](bold #f38ba8)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user