Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
flake/users/relms/shell.nix

55 lines
1.4 KiB
Nix

{lib, ...}: {
programs.htop.enable = true;
programs.hyfetch.enable = true;
programs.hyfetch.settings = {
preset = "genderfluid";
mode = "rgb";
color_align = {
mode = "horizontal";
};
};
programs.exa.enable = true;
programs.fish.enable = true;
programs.fish.shellAliases = {
ls = "exa -laFghHUum@ --sort name --group-directories-first --git --icons";
tree = "exa -laFghHUumRT@ --sort name --group-directories-first --git --icons";
nixos-rebuild = "sudo nixos-rebuild --flake ~/git/flake#";
home-manager = "home-manager --flake ~/git/flake#relms";
};
programs.bash.enable = true;
programs.bash.enableVteIntegration = true;
programs.starship.enable = true;
programs.starship.enableFishIntegration = true;
programs.starship.enableBashIntegration = true;
programs.starship.settings = {
add_newline = true;
format = lib.concatStrings ["$username@$hostname" " " "$directory" " " "$all$character"];
right_format = "$cmd_duration";
directory = {
format = "[$path]($style)[$read_only]($read_only_style)";
read_only = " 🔒";
};
hostname = {
ssh_only = false;
format = "[$hostname]($style)";
};
username = {
show_always = true;
format = "[$user]($style)";
};
shell = {
disabled = false;
};
time = {
disabled = false;
};
status = {
disabled = false;
};
};
}