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:
parent
a525d2bffa
commit
f2b2e26ba9
1 changed files with 18 additions and 0 deletions
18
modules/opkssh.sample.nix
Normal file
18
modules/opkssh.sample.nix
Normal 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"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue