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 = "🌐";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -17,7 +17,7 @@
...
}: {
imports = ["${modulesPath}/virtualisation/proxmox-lxc.nix"];
nixpkgs.hostPlatform ="x86_64-linux";
nixpkgs.hostPlatform = "x86_64-linux";
proxmoxLXC.manageHostName = false;
boot.loader.grub.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"];
nixpkgs.hostPlatform ="aarch64-linux";
nixpkgs.hostPlatform = "aarch64-linux";
hardware.enableRedistributableFirmware = true;
host.details = {
user = "gabe";

View file

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

View file

@ -6,11 +6,11 @@
}: {
# when it gets packaged, will want cadquery and build123d
home.packages = with pkgs; [
ardour
cardinal
vmpk
bespokesynth
surge
helio-workstation
ardour
cardinal
vmpk
bespokesynth
surge
helio-workstation
];
}

View file

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