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.
This commit is contained in:
JuliusFreudenberger 2026-03-27 01:29:56 +01:00
parent a525d2bffa
commit f2b2e26ba9

18
modules/opkssh.sample.nix Normal file
View file

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