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

@ -6,7 +6,7 @@
... ...
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
(kicad.override {compressStep=false;}) (kicad.override {compressStep = false;})
interactive-html-bom 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 [ format = lib.concatStrings [
"[](color_orange)" "[](color_orange)"
"$shell" "$shell"
"\${env_var.SHPOOL_SESSION_NAME}"
"$username" "$username"
"[@](bg:color_orange)" "[@](bg:color_orange)"
"$hostname" "$hostname"
@ -43,6 +44,13 @@
color_red = "#cc241d"; color_red = "#cc241d";
color_yellow = "#d79921"; 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 = { hostname = {
ssh_only = false; ssh_only = false;
ssh_symbol = "🌐"; ssh_symbol = "🌐";

View file

@ -24,7 +24,7 @@ inputs.nixpkgs.lib.nixosSystem {
... ...
}: { }: {
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
host.details = { host.details = {
user = "gabe"; user = "gabe";
fullName = "Gabe Venberg"; fullName = "Gabe Venberg";

View file

@ -39,7 +39,7 @@ inputs.nixpkgs.lib.nixosSystem {
fullName = "Gabe Venberg"; fullName = "Gabe Venberg";
gui.enable = false; gui.enable = false;
}; };
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
boot.zfs.extraPools = ["storage"]; boot.zfs.extraPools = ["storage"];
networking.hostName = "cirrostratus"; # Define your hostname. networking.hostName = "cirrostratus"; # Define your hostname.
networking.hostId = "1b9da0b9"; networking.hostId = "1b9da0b9";

View file

@ -35,7 +35,7 @@ inputs.nixpkgs.lib.nixosSystem {
gui.enable = false; gui.enable = false;
isVm = true; isVm = true;
}; };
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
networking.hostName = "cirrus"; # Define your hostname. networking.hostName = "cirrus"; # Define your hostname.
networking.hostId = "908b80b6"; networking.hostId = "908b80b6";
networking.useNetworkd = true; networking.useNetworkd = true;

View file

@ -32,7 +32,7 @@ inputs.nixpkgs.lib.nixosSystem {
"rockchipdrm" "rockchipdrm"
"phy_rockchip_pcie" "phy_rockchip_pcie"
]; ];
nixpkgs.hostPlatform ="aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
host.details = { host.details = {
user = "gabe"; user = "gabe";

View file

@ -30,7 +30,7 @@ inputs.nixpkgs.lib.nixosSystem {
lib, lib,
... ...
}: { }: {
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
host.details = { host.details = {
user = "gabe"; user = "gabe";
fullName = "Gabe Venberg"; fullName = "Gabe Venberg";

View file

@ -30,7 +30,7 @@
config = lib.mkIf config.user.git.enable { config = lib.mkIf config.user.git.enable {
programs.delta = { programs.delta = {
enable = true; enable = true;
enableGitIntegration=true; enableGitIntegration = true;
options = { options = {
side-by-side = true; side-by-side = true;
line-numbers = true; line-numbers = true;

View file

@ -36,7 +36,7 @@
"${modulesPath}/installer/scan/detected.nix" "${modulesPath}/installer/scan/detected.nix"
"${modulesPath}/installer/scan/not-detected.nix" "${modulesPath}/installer/scan/not-detected.nix"
]; ];
nixpkgs.hostPlatform ="aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";
host.details = { host.details = {
user = "gabe"; user = "gabe";
fullName = "Gabe Venberg"; fullName = "Gabe Venberg";

View file

@ -33,7 +33,7 @@
"${modulesPath}/installer/scan/detected.nix" "${modulesPath}/installer/scan/detected.nix"
"${modulesPath}/installer/scan/not-detected.nix" "${modulesPath}/installer/scan/not-detected.nix"
]; ];
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
host.details = { host.details = {
user = "gabe"; user = "gabe";
fullName = "Gabe Venberg"; fullName = "Gabe Venberg";

View file

@ -17,7 +17,7 @@
... ...
}: { }: {
imports = ["${modulesPath}/virtualisation/proxmox-lxc.nix"]; imports = ["${modulesPath}/virtualisation/proxmox-lxc.nix"];
nixpkgs.hostPlatform ="x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
proxmoxLXC.manageHostName = false; proxmoxLXC.manageHostName = false;
boot.loader.grub.enable = lib.mkForce false; boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.systemd-boot.enable = lib.mkForce false;

View file

@ -23,7 +23,7 @@
... ...
}: { }: {
imports = ["${modulesPath}/installer/sd-card/sd-image-aarch64.nix"]; imports = ["${modulesPath}/installer/sd-card/sd-image-aarch64.nix"];
nixpkgs.hostPlatform ="aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
host.details = { host.details = {
user = "gabe"; user = "gabe";

View file

@ -10,8 +10,8 @@
../../configs/home-manager/direnv.nix ../../configs/home-manager/direnv.nix
../../configs/home-manager/ssh-agent.nix ../../configs/home-manager/ssh-agent.nix
../../configs/home-manager/zsh.nix ../../configs/home-manager/zsh.nix
../../configs/home-manager/zellij
../../configs/home-manager/yazi.nix ../../configs/home-manager/yazi.nix
../../configs/home-manager/shpool.nix
]; ];
user = { user = {

View file

@ -7,6 +7,7 @@
}: { }: {
imports = [ imports = [
./minimal-terminal.nix ./minimal-terminal.nix
../../configs/home-manager/zellij
../../configs/home-manager/nushell ../../configs/home-manager/nushell
../../configs/home-manager/starship.nix ../../configs/home-manager/starship.nix
../../configs/home-manager/zk.nix ../../configs/home-manager/zk.nix