Move HM modules

This commit is contained in:
Filippo Berto 2023-07-19 10:42:09 +01:00
parent 5db76d0fed
commit 3cf0004b78
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
110 changed files with 403 additions and 564 deletions

20
modules/hm/starship.nix Normal file
View file

@ -0,0 +1,20 @@
{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
command_timeout = 1000;
directory.truncation_symbol = "/";
hostname.format = "[$hostname]($style) "; # Disable ssh symbol
# line_break.disabled = true; # Prompt in one line
nix_shell.symbol = " "; # better soacing
python.python_binary = [ "python3" "python2" ];
status = {
disabled = false; # enable module
format = "[$symbol $status]($style) "; # nicer status format
};
username.format = "[$user]($style)@"; # compact username format
};
};
}