added shpool, ran nix fmt.
This commit is contained in:
parent
0fe2f35093
commit
57c49eefed
16 changed files with 51 additions and 21 deletions
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
(kicad.override {compressStep=false;})
|
||||
(kicad.override {compressStep = false;})
|
||||
interactive-html-bom
|
||||
];
|
||||
}
|
||||
|
|
|
|||
21
configs/home-manager/shpool.nix
Normal file
21
configs/home-manager/shpool.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -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 = "🌐";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue