added shpool, ran nix fmt.

This commit is contained in:
Gabe Venberg 2026-01-19 14:40:26 +01:00
parent 0fe2f35093
commit 57c49eefed
16 changed files with 51 additions and 21 deletions

View file

@ -5,8 +5,8 @@
lib,
...
}: {
home.packages = with pkgs; [
(kicad.override {compressStep=false;})
interactive-html-bom
];
home.packages = with pkgs; [
(kicad.override {compressStep = false;})
interactive-html-bom
];
}

View file

@ -0,0 +1,21 @@
{
config,
pkgs,
lib,
...
}: {
services.shpool = {
enable = true;
settings = {
default_dir = ".";
prompt_prefix = "";
keybinding = [
{
action = "detach";
binding = "Ctrl-a d";
}
];
};
systemd = true;
};
}

View file

@ -10,6 +10,7 @@
format = lib.concatStrings [
"[](color_orange)"
"$shell"
"\${env_var.SHPOOL_SESSION_NAME}"
"$username"
"[@](bg:color_orange)"
"$hostname"
@ -43,6 +44,13 @@
color_red = "#cc241d";
color_yellow = "#d79921";
};
env_var.SHPOOL_SESSION_NAME = {
disabled = false;
symbol = "🌊";
variable = "SHPOOL_SESSION_NAME";
format = "[$symbol$env_value ]($style)";
style = "bg:color_orange";
};
hostname = {
ssh_only = false;
ssh_symbol = "🌐";