update: reformat nixosModules options
This commit is contained in:
parent
0ba3786557
commit
2531504b58
19 changed files with 50 additions and 43 deletions
|
|
@ -1,8 +1,10 @@
|
|||
{ config, lib, ... }: {
|
||||
options.settings = {
|
||||
services.pam.enable = lib.mkEnableOption "enables PAM";
|
||||
services.pam.sshd.useGoogleAuth = lib.mkEnableOption "use pam_google_authenticator.so module";
|
||||
services.pam.sshd.gnupg = lib.mkEnableOption "enable gnuPG integration";
|
||||
options.settings.services.pam = {
|
||||
enable = lib.mkEnableOption "enables PAM";
|
||||
sshd = {
|
||||
useGoogleAuth = lib.mkEnableOption "use pam_google_authenticator.so module";
|
||||
gnupg = lib.mkEnableOption "enable gnuPG integration";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.services.pam.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue