Compare commits

...

2 Commits

Author SHA1 Message Date
John Lancaster 1278177e4d added hostname to starship format 2026-04-19 14:26:57 -05:00
John Lancaster f36bb22635 extraOptions for docs 2026-04-19 14:04:23 -05:00
2 changed files with 40 additions and 1 deletions
+36 -1
View File
@@ -65,7 +65,7 @@ in
lt = "eza --tree"; lt = "eza --tree";
lla = "eza -la"; lla = "eza -la";
ds = "gdu -i /snap /"; ds = "gdu -i /snap /";
lzd = "lazydocker"; ld = "lazydocker";
}); });
in in
(inputs.wrappers.wrapperModules.zsh.apply { (inputs.wrappers.wrapperModules.zsh.apply {
@@ -129,7 +129,42 @@ in
line_break.disabled = false; line_break.disabled = false;
git_status.diverged = "\${ahead_count}\${behind_count}"; git_status.diverged = "\${ahead_count}\${behind_count}";
cmd_duration.format = "󰔛 $duration"; cmd_duration.format = "󰔛 $duration";
hostname = {
disabled = false;
ssh_symbol = "🌐 ";
format = "[$ssh_symbol$hostname]($style) in ";
style = "bold dimmed green";
};
# python.disabled = true; # python.disabled = true;
format = lib.replaceStrings ["\n"] [""] ''
[](red)
$os
$username
$hostname
[](bg:peach fg:red)
$directory
[](bg:yellow fg:peach)
$git_branch
$git_status
[](fg:yellow bg:green)
$c
$rust
$golang
$nodejs
$php
$java
$kotlin
$haskell
$python
[](fg:green bg:sapphire)
$conda
[](fg:sapphire bg:lavender)
$time
[ ](fg:lavender)
$cmd_duration
$line_break
$character
'';
}; };
}).wrapper; }).wrapper;
}; };
+4
View File
@@ -175,6 +175,10 @@ in
"docs" = { "docs" = {
hostname = "192.168.1.110"; hostname = "192.168.1.110";
user = "root"; user = "root";
extraOptions = {
RequestTTY = "force";
RemoteCommand = "~/.nix-profile/bin/jsl-zsh";
};
}; };
"gitea" = { "gitea" = {
hostname = "192.168.1.104"; hostname = "192.168.1.104";