Compare commits

..

No commits in common. "06e123218567c08bea75dc98b92b4b3db969ac9f" and "9d1f451d5f33679cd104327b977c030906456960" have entirely different histories.

2 changed files with 0 additions and 16 deletions

View file

@ -39,10 +39,6 @@ let
icon: matrix.png icon: matrix.png
href: https://admin.iscg.dev href: https://admin.iscg.dev
description: Matrix admin room UI (systemd, not container) description: Matrix admin room UI (systemd, not container)
- Pi Web:
icon: /images/pi.png
href: https://pi.iscg.dev
description: pi coding agent web UI (systemd, not container)
- Communication: - Communication:
- Tuwunel: - Tuwunel:
icon: matrix.png icon: matrix.png

View file

@ -2,18 +2,6 @@
imports = [ ./apps.nix ./system.nix ]; imports = [ ./apps.nix ./system.nix ];
networking.hostName = "poppy"; networking.hostName = "poppy";
# Локальное короткое имя pi -> 127.0.0.1 для pi-web.
# Запуск: npm exec @agegr/pi-web@latest --hostname 0.0.0.0 --port 30141
# Ссылка: http://pi:30141
# (networking.hosts в nix-darwin отсутствует; /etc/hosts правится
# идемпотентно через extraActivation — один из хуков, реально
# вызываемых в activate-скрипте.)
system.activationScripts.extraActivation.text = ''
if ! grep -qE '^[0-9.]+[[:space:]]+pi($|[[:space:]])' /etc/hosts; then
printf '127.0.0.1\tpi # pi-web local alias\n' >> /etc/hosts
fi
'';
system.primaryUser = "mikl"; system.primaryUser = "mikl";
system.stateVersion = 7; system.stateVersion = 7;