tuwunel v1.9.3 (DB migrated, verified); teable mem_limit 2g; nick-timer systemd service + caddy vhost; heather swap 4g, drop chromium, add diag tools; server.nix: drop pinchtab, add nodejs
This commit is contained in:
parent
5e75ca7555
commit
4cfd8d3ac3
5 changed files with 65 additions and 29 deletions
|
|
@ -7,35 +7,12 @@
|
|||
{
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
# User-level tools installed outside Nix (PinchTab, pi wrapper, etc.).
|
||||
# User-level tools installed outside Nix (pi wrapper, etc.).
|
||||
home.sessionPath = [
|
||||
"${config.home.homeDirectory}/.local/bin"
|
||||
"${config.home.homeDirectory}/.local/libexec"
|
||||
];
|
||||
|
||||
# Keep the browser control plane alive across SSH logout and reboots.
|
||||
# PinchTab itself is installed outside Nix because its upstream release
|
||||
# binary is dynamically linked; the local NixOS-compatible build lives in
|
||||
# ~/.local/libexec/pinchtab.
|
||||
systemd.user.services.pinchtab = {
|
||||
Unit = {
|
||||
Description = "PinchTab browser control plane";
|
||||
After = [ "dbus-broker.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "%h/.local/libexec/pinchtab server";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
Environment = [
|
||||
"HOME=%h"
|
||||
"PATH=/run/current-system/sw/bin:/home/mikl/.npm-global/bin:/home/mikl/.local/bin:/home/mikl/.local/libexec"
|
||||
];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".local/bin/pi" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
|
|
@ -61,6 +38,9 @@
|
|||
# Редактор
|
||||
vim
|
||||
|
||||
# Node.js runtime for the user-installed pi CLI and extensions
|
||||
nodejs
|
||||
|
||||
# Git
|
||||
git
|
||||
tea # Forgejo/Gitea CLI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue