poppy: gcalcli; kitty opacity 0.84; gpg-agent ttl 600s; pay.nix darwin (skip autoPatchelfHook); syncthing launchd via nix-darwin; mihomo

This commit is contained in:
mikl 2026-09-26 01:57:33 +03:00
commit 0e56d31d68
7 changed files with 28 additions and 24 deletions

View file

@ -40,6 +40,7 @@
yt-dlp # скачивание с YouTube и 1000+ сайтов (эталонный CLI)
transmission_4 # BitTorrent: transmission-daemon + -remote + -create/show/edit CLI tools
himalaya # IMAP/SMTP/JMAP почтовый CLI (JSON-вывод для агента)
gcalcli # Google Calendar CLI (OAuth, для агента)
matrix-commander-rs # Matrix CLI клиент (E2E, JSON-вывод, для агента)
# x402 / MPP agentic payments CLI (Solana Foundation)

View file

@ -18,7 +18,7 @@
themeFile = "mellow";
settings = {
background_opacity = "0.96";
background_opacity = "0.84";
dynamic_background_opacity = "yes";
background_blur = 16;
cursor_shape = "beam";

View file

@ -16,6 +16,7 @@
# GPG agent settings (only for GPG/pass, NOT for SSH)
services.gpg-agent = {
enable = true;
defaultCacheTtl = 3600;
defaultCacheTtl = 600;
maxCacheTtl = 600;
};
}

View file

@ -51,8 +51,10 @@ stdenv.mkDerivation {
sourceRoot = ".";
# tarball contains a single prebuilt `pay` binary at its root.
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ openssl stdenv.cc.cc.lib ];
# autoPatchelfHook is ELF-only and crashes on darwin Mach-O binaries;
# macOS prebuilts are self-contained, so patching is linux-only.
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = lib.optionals stdenv.isLinux [ openssl stdenv.cc.cc.lib ];
dontConfigure = true;
dontBuild = true;

View file

@ -6,20 +6,7 @@
# Devices: poppy (this mac) + remote (UCWTYQI-...)
home.packages = [ pkgs.syncthing ];
# Autostart via launchd
# -no-browser: don't open GUI on startup
# KeepAlive: restart if crashes
# RunAtLoad: start at login
launchd.agents.syncthing = {
enable = true;
config = {
ProgramArguments = [
"${pkgs.syncthing}/bin/syncthing"
"serve"
];
RunAtLoad = true;
KeepAlive = true;
ProcessType = "Background";
};
};
# Autostart is declared in hosts/poppy/default.nix via nix-darwin's
# launchd.user.agents. Home Manager only provides the package here;
# nix-darwin owns the LaunchAgent lifecycle and bootstraps it at login.
}