Replace the T0 stubs with the old modules' behaviour, one aspect each: - nixos.amd: graphics (32-bit), amdgpu (initrd, OpenCL, overdrive), microcode, kvm-amd, monitoring tools and LACT (the old default). - nixos.rocm: rocminfo, rocm-smi and /opt/rocm/hip; the desktop host does not import it, as before. - nixos.gaming: Steam, Proton-GE, gamescope (off), gamemode, MangoHud, the vm.max_map_count sysctl and the owner's `gamemode` group. - nixos.vpn: AmneziaVPN and nm-applet; the OpenVPN plugin stays in core/networking.nix. - nixos.docker: rootful and rootless Docker on btrfs and the owner's `docker` group. secrets/secrets.nix gains the recipient entries for gitea-runner-token.age and tg-ws-proxy-secret.age (additive). secrets/README.md documents both optional secrets, the exact commands to create them from a pipe, and rotation, because the old plaintext values are in the git history. proxy-suite.nix, gitea-runner.nix, secrets.nix and ssh.nix were verified against the old modules and need no change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
27 lines
1.0 KiB
Nix
27 lines
1.0 KiB
Nix
# agenix recipients: which public keys may decrypt which secret.
|
|
#
|
|
# The agenix CLI reads this file (`cd secrets && agenix -e <name>.age`); the NixOS
|
|
# configuration does not import it. Every key below is a PLACEHOLDER: replace
|
|
# each one before encrypting anything.
|
|
#
|
|
# host : the machine's /etc/ssh/ssh_host_ed25519_key.pub
|
|
# (`create-keys` in the install USB workflow writes it to keys/)
|
|
# user : the public key of the workstation you edit secrets from
|
|
# (`cat ~/.ssh/id_ed25519.pub`)
|
|
let
|
|
host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAggjdC+XHtpgLRD9bVpvpMrEsq+MujryLL4nAPdACdf root@desktop";
|
|
faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA87UgZb5wZbS+J9eR+1bHHhHFsIuGRsIhNdAk4iEntF faumaray@gmail.com";
|
|
|
|
recipients = [
|
|
host
|
|
faumaray
|
|
];
|
|
in
|
|
{
|
|
"faumaray-password.age".publicKeys = recipients;
|
|
"ssh-id_ed25519.age".publicKeys = recipients;
|
|
"ssh-id_ed25519_work.age".publicKeys = recipients;
|
|
"gitea-runner-token.age".publicKeys = recipients;
|
|
"tg-ws-proxy-secret.age".publicKeys = recipients;
|
|
}
|