grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
c1be8e3
main
1{ 2host , 3principals ? host . sshPrincipals or [ ], 4extraKeys ? [ ], 5} : 6 7let 8allowedPrincipals = [ 9"t:human" 10"h: ${ host . name } " 11] 12++ principals ; 13certificateAuthority = builtins . replaceStrings [ "\n" ] [ "" ] ( builtins . readFile ./ssh-ca.pub ); 14in 15[ 16"cert-authority,principals=\" ${ builtins . concatStringsSep "," allowedPrincipals } \" ${ certificateAuthority } " 17"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIA6Eq2yVsZrCH8so7f3ygH0UWp6WkOxbhLNFC9QewKwoAAAABHNzaDo= grace.pink" 18] 19++ extraKeys