Some cleanup
This commit is contained in:
parent
e33187bf0c
commit
dc1712cf46
23 changed files with 103 additions and 103 deletions
5
home/by-host/aepplet/default.nix
Normal file
5
home/by-host/aepplet/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
bosun = {
|
||||||
|
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPjqieS4GkYAa1WRYZpxjgYsj7VGZ9U+rTFCkX8M0umD";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -69,6 +69,7 @@ in {
|
||||||
reader
|
reader
|
||||||
tdf
|
tdf
|
||||||
slack
|
slack
|
||||||
|
signal-desktop
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
vesktop # Discord client
|
vesktop # Discord client
|
||||||
# jitsi-meet
|
# jitsi-meet
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@
|
||||||
claude-monitor
|
claude-monitor
|
||||||
devenv
|
devenv
|
||||||
gitui
|
gitui
|
||||||
|
tea
|
||||||
harbor.oryx # TUI for sniffing network traffic using eBPF
|
harbor.oryx # TUI for sniffing network traffic using eBPF
|
||||||
|
|
||||||
# BMAD
|
# BMAD
|
||||||
|
|
@ -54,8 +55,8 @@
|
||||||
php82Packages.composer
|
php82Packages.composer
|
||||||
|
|
||||||
bun
|
bun
|
||||||
nodejs_20
|
|
||||||
nodejs_20.pkgs.pnpm
|
nomad
|
||||||
];
|
];
|
||||||
|
|
||||||
bosun.secrets.npmrc = {
|
bosun.secrets.npmrc = {
|
||||||
|
|
@ -77,33 +78,33 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = inputs.unstable.${system}.claude-code;
|
# package = inputs.unstable.${system}.claude-code;
|
||||||
|
|
||||||
mcpServers = {
|
# mcpServers = {
|
||||||
fetch = {
|
# fetch = {
|
||||||
args = ["-y" "@modelcontextprotocol/server-fetch"];
|
# args = ["-y" "@modelcontextprotocol/server-fetch"];
|
||||||
command = "npx";
|
# command = "npx";
|
||||||
type = "stdio";
|
# type = "stdio";
|
||||||
};
|
# };
|
||||||
playwright = {
|
# playwright = {
|
||||||
args = ["-y" "@modelcontextprotocol/server-playwright"];
|
# args = ["-y" "@modelcontextprotocol/server-playwright"];
|
||||||
command = "npx";
|
# command = "npx";
|
||||||
type = "stdio";
|
# type = "stdio";
|
||||||
};
|
# };
|
||||||
stackexchange = {
|
# stackexchange = {
|
||||||
args = ["-y" "mcp-server-stackexchange"];
|
# args = ["-y" "mcp-server-stackexchange"];
|
||||||
command = "npx";
|
# command = "npx";
|
||||||
type = "stdio";
|
# type = "stdio";
|
||||||
};
|
# };
|
||||||
arxiv = {
|
# arxiv = {
|
||||||
args = ["-y" "mcp-server-arxiv"];
|
# args = ["-y" "mcp-server-arxiv"];
|
||||||
command = "npx";
|
# command = "npx";
|
||||||
type = "stdio";
|
# type = "stdio";
|
||||||
};
|
# };
|
||||||
claudezilla = {
|
# claudezilla = {
|
||||||
command = "bun";
|
# command = "bun";
|
||||||
args = ["/home/toph/code/vendor/claudezilla/mcp/server.js"];
|
# args = ["/home/toph/code/vendor/claudezilla/mcp/server.js"];
|
||||||
type = "stdio";
|
# type = "stdio";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
} @ all: {
|
} @ all: {
|
||||||
bosun.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHl33DPxxzxrNNjM8rL4ktAj4ExzCyGiU8rKog0csxNA";
|
bosun.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHl33DPxxzxrNNjM8rL4ktAj4ExzCyGiU8rKog0csxNA";
|
||||||
|
|
@ -153,6 +154,9 @@
|
||||||
harbor.quick-zeal
|
harbor.quick-zeal
|
||||||
harbor.spawn-term
|
harbor.spawn-term
|
||||||
];
|
];
|
||||||
|
|
||||||
|
username = "toph";
|
||||||
|
homeDirectory = "/home/toph";
|
||||||
};
|
};
|
||||||
|
|
||||||
# home.file.".config/Yubico/u2f_keys".text = "christopher:C7akk/T8XYov6fOk3rGo0ZW66QPMtdLnGznPuK+tTh/qmPecvECzGVMKJuh5M7nYsMoT6r/idAP88FGinf/rpw==,ydS/PgUALZriaaHYS81u3x8rRFulq727GDJRlvbJhP2yeKK7Ih+xqRceyabLR3MxRN8PT/MtC1I/Xjaxl0S2Rg==,es256,+presence";
|
# home.file.".config/Yubico/u2f_keys".text = "christopher:C7akk/T8XYov6fOk3rGo0ZW66QPMtdLnGznPuK+tTh/qmPecvECzGVMKJuh5M7nYsMoT6r/idAP88FGinf/rpw==,ydS/PgUALZriaaHYS81u3x8rRFulq727GDJRlvbJhP2yeKK7Ih+xqRceyabLR3MxRN8PT/MtC1I/Xjaxl0S2Rg==,es256,+presence";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
bosun.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBUKDCjB0VpQubi8BfnYKbh4MIE1tcvKQesdoPE4NXAf";
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
helix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
elements.secrets = {
|
|
||||||
rekeyPath = "christopher_beryllium";
|
|
||||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBUKDCjB0VpQubi8BfnYKbh4MIE1tcvKQesdoPE4NXAf";
|
|
||||||
|
|
||||||
needs = {
|
|
||||||
traefik-env = "traefik.env.age";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# virtualisation.quadlet.containers = {
|
|
||||||
# echo = {
|
|
||||||
# autoStart = true;
|
|
||||||
# serviceConfig = {
|
|
||||||
# RestartSec = "10";
|
|
||||||
# Restart = "always";
|
|
||||||
# };
|
|
||||||
# containerConfig = {
|
|
||||||
# image = "docker.io/mendhak/http-https-echo:31";
|
|
||||||
# publishPorts = ["127.0.0.1:8080:8080"];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
helix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
bosun.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHl33DPxxzxrNNjM8rL4ktAj4ExzCyGiU8rKog0csxNA";
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
harbor.to-s3
|
|
||||||
harbor.connect-to-mercury
|
|
||||||
];
|
|
||||||
}
|
|
||||||
14
home/by-host/endurance/wakatime.nix
Normal file
14
home/by-host/endurance/wakatime.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = [pkgs.wakatime-cli];
|
||||||
|
|
||||||
|
# programs.fish = {
|
||||||
|
# interactiveShellInit = ''
|
||||||
|
# function __wakatime_hook --on-event fish_prompt
|
||||||
|
# wakatime-cli --write --plugin "fish-wakatime/0.1" \
|
||||||
|
# --entity-type app \
|
||||||
|
# --project (basename (pwd)) \
|
||||||
|
# --entity (pwd) &
|
||||||
|
# end
|
||||||
|
# '';
|
||||||
|
# };
|
||||||
|
}
|
||||||
|
|
@ -27,6 +27,50 @@
|
||||||
interfaces.eno1.wakeOnLan.enable = true;
|
interfaces.eno1.wakeOnLan.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Nomad client-only (no server) — joins the cluster for GPU/compute tasks
|
||||||
|
services.nomad = {
|
||||||
|
enable = true;
|
||||||
|
dropPrivileges = false;
|
||||||
|
extraSettingsPaths = [
|
||||||
|
(builtins.toFile "docker-plugin.hcl" ''
|
||||||
|
plugin "docker" {
|
||||||
|
config {
|
||||||
|
volumes {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
settings = {
|
||||||
|
datacenter = "home";
|
||||||
|
bind_addr = "{{ GetInterfaceIP \"tailscale0\" }}";
|
||||||
|
addresses = {
|
||||||
|
http = "0.0.0.0";
|
||||||
|
};
|
||||||
|
advertise = {
|
||||||
|
http = "{{ GetInterfaceIP \"tailscale0\" }}";
|
||||||
|
rpc = "{{ GetInterfaceIP \"tailscale0\" }}";
|
||||||
|
serf = "{{ GetInterfaceIP \"tailscale0\" }}";
|
||||||
|
};
|
||||||
|
client = {
|
||||||
|
enabled = true;
|
||||||
|
servers = ["alvin" "fram" "great-western"];
|
||||||
|
node_class = "workstation";
|
||||||
|
meta = {
|
||||||
|
has_gpu = "true";
|
||||||
|
has_display = "true";
|
||||||
|
location = "local";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Make nomad CLI work with Tailscale-bound API
|
||||||
|
environment.etc."profile.d/nomad.sh".text = ''
|
||||||
|
export NOMAD_ADDR="http://$(tailscale ip -4):4646"
|
||||||
|
'';
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
weylus.users = ["toph"];
|
weylus.users = ["toph"];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,12 @@
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
backupFileExtension = "hm-bak";
|
||||||
|
|
||||||
users.toph = inputs.self.homeConfigurations."toph@${hostname}";
|
users.toph.imports = [
|
||||||
|
(inputs.self + "/modules/home")
|
||||||
|
(inputs.self + "/home/by-host/${hostname}")
|
||||||
|
];
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs hostname;
|
inherit inputs hostname;
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,10 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 Sih9FA sjJK2xzSS5NIMYO9oRqdZP31M2DJMlMT17dvMe6QFm8
|
|
||||||
mynrRQPbUA3q0Kzq0pSwPaLUjXKRQRi4AWYGQAZDXeg
|
|
||||||
-> 2!Ioi2-grease 8X6n Z/BVM# c%x9*
|
|
||||||
rwvXE/SCfEvdqk5AHvLu4viy0o/eVLqzBx6C/b23EFv0jY8RGim7avCRM+AgaSUl
|
|
||||||
kjTCXxYyVNUVSS4FfNS3/HCCKBWUUDTKKjiOet33Q1jhh3xYP89nAHzjjWN3KmrE
|
|
||||||
xAY
|
|
||||||
--- sFHXIDP2M1/uZFVMp+vc085sWpY+TQt3MKTb+p3Kyuo
|
|
||||||
éxÀq×àì¢n(HÐ¥N_%¡ªAë}=8’¨æ”^Ö)ÇÐxðØZ¯Öl!rI2ª¸K¼Ë,hÒUîé …ÊáaC?HÜzÖ¥LDÅP@/ÔƒžÔ¦«À°W~éÕ“±hR7å)E)ø8ªƒºivWqz×\ %&â¾íN¶:J½:]îœvÀ‚Ô—Z2P|ÌÒ<C38C>Èx+&ƒd¶ÁGo#èsovêbÚïˆØ· ;Tbé ð©31|ˆïŠ¥ø]Ä᳸ݞâEvÖ{ôš¥·7O<60Ší°¢~HJóõ´<>&)ÕC4çsñB[%àŒŠe Dªj´/DΫËrinÅî3`Sg‡/9]¸ X&S<>¡75!§ç™µ¦A`§€{‚«¤VtŽ8MV»7«]iËÂ$ê7®±ÛÒj=OÄMdbã·:²Iäcnä®xþ:|
'Htì<{ë„Ì
ô˧‹,ú;,k‹y?DÁ$BÖÉÇŒ
|
|
||||||
&-5:ð`mùäBµœ°Ó}쮸Ègƒþ<C692>‘Qæ¼ïÖR…&ªºw»5†ê8˜ ÓZÆQ`<«Æ¶oó&…
Ã+ÂÅ×%¯>ø59œÇWtƒvÛw¶ûöëˆJµ?%fÌ
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,8 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 Sih9FA d9oQaF1sdS+4mUZvKWU90rPM3jdb/xaa+LPWwnhpFQQ
|
|
||||||
Vji46uZEvcIbBALfvguE7u1o9LY6tiWeTXNU33O7WnI
|
|
||||||
-> vL8-grease i%AP\3gI { -{r^< OC
|
|
||||||
Ag5+BVEroMpIJUVBfMDzbg4e2ZeInDVmfsGGuAjyXk3bpQ1PButowEYp94tqXFcO
|
|
||||||
7ym1I8DzL7VfBB+MvSr7DYN7yH6wuopXh+WnPg
|
|
||||||
--- Ee6HhsFrv9FF48pi8Uh3aIm9gSnOCUEdNJrj9wXLh/Q
|
|
||||||
„Ô¼ &À98ÛÞƒÉ@;©µ60*i‚ cxJg5!W^pqZ&ZßúÕF<>w¬¹ºö
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,8 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 Sih9FA fq3C2igBpOWJjLT9ZYzNTHTIxis4KNxJGqKqxUOFGAA
|
|
||||||
hh2mbDtaqH9ZfHg4gl7t01sxqueb8VjHwLyAlcGG7uo
|
|
||||||
-> PpA-grease
|
|
||||||
OVR9M24Xu72ydIujacdy3E5wY2j1O5yoN197/G2C2Q36gIq/2uxAaYY97zQgaPb8
|
|
||||||
ceu566Z0DqfToCVFAptnuRIY6YeIFIOeUA
|
|
||||||
--- axV+75oHmhVN+nWRivvDNlDokS2oQU4s6SIeLecO3yg
|
|
||||||
©4NÊíŒi+$ð˜XÖ?º
[0ûwInÀ¶÷ª¥öâaUæÜ<01>…˦D,wVvçœWbËþšóÙÌ´HIJf#±“ìÕïýº>ñí<04>é¨MßuÔq‘ü,¤áט_"wÔéÐÖY„ ؉í/$#ÎEjÑ
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue