fix: fix new modules formatting
This commit is contained in:
parent
b708969576
commit
2de023a52f
4 changed files with 26 additions and 18 deletions
|
|
@ -5,12 +5,14 @@
|
|||
services.pam.sshd.gnupg = lib.mkEnableOption "enable gnuPG integration";
|
||||
};
|
||||
|
||||
security.pam = lib.mkIf config.settings.services.pam.enable {
|
||||
services.sshd = {
|
||||
name = "sshd";
|
||||
unixAuth = true;
|
||||
googleAuthenticator.enable = config.settings.services.pam.sshd.useGoogleAuth;
|
||||
gnupg.enable = config.settings.services.pam.sshd.gnupg;
|
||||
config = lib.mkIf config.settings.services.pam.enable {
|
||||
security.pam = {
|
||||
services.sshd = {
|
||||
name = "sshd";
|
||||
unixAuth = true;
|
||||
googleAuthenticator.enable = config.settings.services.pam.sshd.useGoogleAuth;
|
||||
gnupg.enable = config.settings.services.pam.sshd.gnupg;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue