l lassul.us: simplify pubkey locations

This commit is contained in:
lassulus 2022-05-29 20:12:12 +02:00
parent fd58fdb28c
commit 45073efe87

View File

@ -57,14 +57,14 @@ in {
alias ${initscript}/bin/init; alias ${initscript}/bin/init;
''; '';
locations."= /blue.pub".extraConfig = '' locations."= /blue.pub".extraConfig = ''
alias ${pkgs.writeText "pub" config.krebs.users.lass.pubkey}; alias ${pkgs.writeText "pub" config.krebs.users.lass-blue.pubkey};
''; '';
locations."= /mors.pub".extraConfig = '' locations."= /ssh.pub".extraConfig = ''
alias ${pkgs.writeText "pub" config.krebs.users.lass-mors.pubkey};
'';
locations."= /yubi.pub".extraConfig = ''
alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pubkey}; alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pubkey};
''; '';
locations."= /gpg.pub".extraConfig = ''
alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pgp.pubkeys.default};
'';
}; };
security.acme.certs."cgit.lassul.us" = { security.acme.certs."cgit.lassul.us" = {