2024-09-19 08:05:48 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-07-03 07:15:39 +01:00
|
|
|
imports = [
|
|
|
|
./git.nix
|
|
|
|
./ssh.nix
|
|
|
|
./starship.nix
|
|
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
rclone
|
|
|
|
git-sync
|
|
|
|
du-dust
|
|
|
|
];
|
|
|
|
programs = {
|
2024-09-01 12:58:42 +01:00
|
|
|
bash.enable = true;
|
2024-09-19 08:05:48 +01:00
|
|
|
fastfetch.enable = true;
|
2024-09-01 12:58:42 +01:00
|
|
|
fish.enable = true;
|
2024-07-03 07:15:39 +01:00
|
|
|
fd.enable = true;
|
|
|
|
jq.enable = true;
|
2024-07-31 06:17:53 +01:00
|
|
|
nix-index.enable = true;
|
2024-09-20 14:59:59 +01:00
|
|
|
nushell.enable = true;
|
2024-07-03 07:15:39 +01:00
|
|
|
ripgrep.enable = true;
|
2024-09-19 08:05:48 +01:00
|
|
|
bat = {
|
|
|
|
enable = true;
|
|
|
|
config.style = "plain,numbers,changes";
|
|
|
|
};
|
|
|
|
bottom = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
flags = {
|
|
|
|
group_processes = true;
|
|
|
|
temperature_type = "celsius";
|
|
|
|
battery = true;
|
|
|
|
enable_gpu = true;
|
|
|
|
enable_cache_memory = true;
|
|
|
|
};
|
|
|
|
colors =
|
|
|
|
let
|
2024-09-20 08:33:10 +01:00
|
|
|
rainbow = with config.lib.stylix.scheme.withHashtag; [
|
2024-09-19 08:05:48 +01:00
|
|
|
red
|
|
|
|
yellow
|
|
|
|
green
|
|
|
|
cyan
|
|
|
|
blue
|
|
|
|
magenta
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
cpu_core_colors = rainbow;
|
|
|
|
gpu_core_colors = rainbow;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
git = true;
|
|
|
|
icons = true;
|
|
|
|
extraOptions = [ "--octal-permissions" ];
|
|
|
|
};
|
|
|
|
fzf = {
|
|
|
|
enable = true;
|
|
|
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
|
|
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
|
|
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
|
|
|
};
|
|
|
|
readline = {
|
|
|
|
enable = true;
|
|
|
|
variables = {
|
|
|
|
bell-style = "visible";
|
|
|
|
blink-matching-paren = "On";
|
|
|
|
colored-completion-prefix = "On";
|
|
|
|
colored-stats = "On";
|
|
|
|
completion-ignore-case = "On";
|
|
|
|
completion-map-case = "On";
|
|
|
|
editing-mode = "emacs";
|
|
|
|
expand-tilde = "On";
|
|
|
|
horizontal-scroll-mode = "On";
|
|
|
|
mark-directories = "On";
|
|
|
|
mark-symlinked-directories = "On";
|
|
|
|
visible-stats = "On";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
zellij = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
default_mode = "locked";
|
|
|
|
mouse_mode = true;
|
|
|
|
copy_command = lib.mkIf config.wayland.windowManager.sway.enable "wl-copy";
|
|
|
|
copy_on_select = true;
|
|
|
|
};
|
|
|
|
};
|
2024-09-20 08:33:10 +01:00
|
|
|
zsh = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
autocd = true;
|
|
|
|
autosuggestion.enable = true;
|
|
|
|
defaultKeymap = "emacs";
|
|
|
|
syntaxHighlighting = {
|
|
|
|
enable = true;
|
|
|
|
highlighters = [
|
|
|
|
"brackets"
|
|
|
|
"cursor"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
historySubstringSearch.enable = true;
|
|
|
|
history = {
|
|
|
|
extended = true;
|
|
|
|
share = true;
|
|
|
|
ignoreDups = true;
|
|
|
|
ignoreAllDups = true;
|
|
|
|
ignoreSpace = true;
|
|
|
|
expireDuplicatesFirst = true;
|
|
|
|
};
|
|
|
|
initExtra = ''
|
|
|
|
## completion config and styling
|
|
|
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
|
|
|
zstyle ':completion:*' menu 'select=long-list'
|
|
|
|
|
|
|
|
## transient prompt
|
|
|
|
source ${./transient.zsh}
|
|
|
|
'';
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
}
|