nix-config/modules/opkssh.sample.nix
JuliusFreudenberger f2b2e26ba9 Add sample for opkssh module
Module will not be added here as usernames, principals and the client id
have to be specified directly.
Setting them via age secrets is not possible.
2026-03-27 01:29:56 +01:00

18 lines
321 B
Nix

{
...
}: {
services.opkssh = {
enable = true;
providers = {
pocket-id = {
issuer = "https://example.com";
clientId = "";
lifetime = "12h";
};
};
authorizations = [
{ user = "<username>"; principal = "<email>"; issuer = "https://example.com"; }
];
};
}