Alexander Heldt 2606f1a1c6 tadpole: Scope authorized_keys_command to alex
The command was hijacking auth for all users, including `gitea`, which
broke `git push` over SSH — `gitea`'s `authorized_keys` (with the
`gitea serv` command restriction) was being bypassed, and sshd would
try to exec the raw `git-receive-pack` instead.

Pass `%u` to the command and short-circuit unless the requested user
is `alex`, so other users fall back to their own `~/.ssh/authorized_keys`.
2026-06-03 12:58:08 +02:00
2026-05-17 13:25:01 +00:00
2025-07-10 16:21:03 +02:00
2024-09-02 21:07:34 +02:00
2024-09-02 21:07:34 +02:00
2026-06-03 10:25:19 +00:00
2026-03-22 18:45:30 +01:00

config-manager

./config-manager is a module that contains a script to make usage of this flake easier.

To install it

  1. first add the module to the nixOS system connfiguration
  2. set config-manager.flakePath = <path to this flake>
  3. run nixos-rebuild switch --flake .#<configuration> after that cm will be available on $PATH.

Secrets

Secrets are managed by agenix (https://github.com/ryantm/agenix).

Creating new secrets

  1. Update secrets/secrets.nix with the new secret.

  2. When inside ./secrets:

EDITOR=vim agenix -e "some-secret.age"

This will create a new secret. To view its content one can do:

EDITOR=vim agenix -d "some-secret.age" -i ~/.ssh/alex.pinwheel

Or use some other SSH key that is has been used to key the secret.

Test VM

Build the test VM with the command:

cm  --build-test-vm

and test it with:

cm  --run-test-vm
S
Description
No description provided
Readme 3 MiB
Languages
Nix 75.6%
HTML 20.4%
Shell 4%