# agenix recipients: which public keys may decrypt which secret. # # The agenix CLI reads this file (`cd secrets && agenix -e .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 # PLACEHOLDER: replace with the real host public key. host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER root@desktop"; # PLACEHOLDER: replace with the public key of the machine you edit secrets on. faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER faumaray@gmail.com"; recipients = [ host faumaray ]; in { # Hashed login password: `mkpasswd -m yescrypt | agenix -e faumaray-password.age` "faumaray-password.age".publicKeys = recipients; # Private SSH key installed for the user, linked to ~/.ssh/id_ed25519 by home-manager. # Put the matching public key next to it as ssh-id_ed25519.pub (plaintext, not secret). "ssh-id_ed25519.age".publicKeys = recipients; }