22 Commits
Author SHA1 Message Date
m3ta-chiron 0576b3c60b feat(colmena): passwordless activation via sudoers rules scoped to colmena's exact commands
Colmena connects with BatchMode=yes and no TTY (src/nix/host/ssh.rs),
so a sudo password prompt can never be answered - non-root deploys
REQUIRE NOPASSWD. New extraServices.colmenaDeploy (enabled on all
five hosts) grants m3tam3re passwordless sudo for exactly the two
invocations colmena performs (verified against colmena 0.5/0.6
profile.rs + host/{ssh,local}.rs, default NixFlags are empty):

- /run/current-system/sw/bin/nix-env --profile /nix/var/nix/profiles/system --set /nix/store/*
  (system profile switch, goals switch/boot)
- /nix/store/*/bin/switch-to-configuration <boot|switch|test|dry-activate>
  (activation, exact single argument)

Everything else keeps requiring the sudo password; extraRules sort
after the wheel rules, so last-match-wins keeps the exception scoped.
Also enables passwordless 'colmena apply-local' on the desktops, which
uses the same activation path.

Residual risk (documented in the module): anyone holding the deploy
user's SSH key can activate arbitrary store closures - that is the
deploy capability itself, inherent to NixOS remote activation.

One-time bootstrap per server (rules arrive WITH a deploy, and the
first deploy cannot answer a password prompt):
  nixos-rebuild switch --flake .#m3-atlas --target-host m3tam3re@m3-atlas --use-remote-sudo
2026-10-04 13:42:02 +02:00
m3ta-chiron 7313e167b1 feat: herdr + agent network over netbird 2026-08-23 14:39:31 +02:00
m3tm3re 411c67d2c6 add mcps to home-config; +ghostty 2026-03-14 09:26:13 +01:00
m3tm3re 2449532b30 chore: update dependencies, add basecamp secrets, improve desktop environment
- Update opencode to v1.1.34
- Add new opencode agents (Prometheus, Metis, Momus, Atlas) and categories
- Switch m3ta-nixpkgs back to local path
- Add basecamp client credentials for m3-ares and m3-kratos
- Set NIXOS_OZONE_WL=1 for better Wayland app support in Hyprland
- Remove redundant wrl.enable from flatpak portal config
2026-01-23 18:14:08 +01:00
Sascha Koenig 436928b187 flake update 2025-12-23 09:25:17 +01:00
m3tm3re d24c6b28f8 flake update 2025-10-28 16:44:52 +01:00
Sascha Koenig b54213cfbb flake update 2025-07-03 19:06:08 +02:00
Sascha Koenig 22cbc7c5a2 flake update 2025-05-19 17:27:39 +02:00
m3tam3re ad87c67161 Headscale and Tailscale config modules 2025-05-05 11:44:32 +02:00
m3tam3re cc38372ee0 experimental msty-sidecar 2025-04-29 15:05:08 +02:00
m3tam3re f560c59be5 +code2prompt, removed temprorary overlays 2025-04-18 10:53:05 +02:00
m3tam3re 74e7ee8364 lock OVMF 2025-03-28 10:00:43 +01:00
m3tam3re 81ee763318 flatpak fix attempt 2025-03-26 06:12:35 +01:00
m3tam3re e0dda1eb0a @hyprland +uwsm 2025-02-12 11:12:32 +01:00
m3tam3re 190fb2d6d1 flake update 2025-02-02 15:41:21 +01:00
m3tam3re e4b87c6908 rocblas workaround 2025-01-28 09:57:26 +01:00
m3tam3re c18b2d1f94 -spotify 2025-01-25 13:16:10 +01:00
m3tam3re 50332e55e8 ollama rocm gpu fix 2024-11-25 14:59:34 +01:00
m3tam3re 79df3dd5c7 +m3-helios 2024-11-16 19:58:59 +01:00
m3tam3re 431188a943 +podman socker 2024-11-14 15:13:14 +01:00
m3tam3re 8912665aa6 +aider-chat-env 2024-11-11 10:46:17 +01:00
m3tam3re 5c0ad5d634 here we go 2024-10-20 00:30:58 +02:00