diff options
author | pennae <github@quasiparticle.net> | 2021-11-26 01:16:05 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2021-12-02 22:35:04 +0100 |
commit | 25124556397ba17bfd70297000270de1e6523b0a (patch) | |
tree | a47a5e701f7ebd016871055c3032b8f6be4d0d6c /nixos/modules/security | |
parent | 80c7745b4e8fae6e533475208fe947b0bcae3cdf (diff) | |
download | nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.gz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.bz2 nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.lz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.xz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.zst nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.zip |
nixos/*: add trivial defaultText for options with simple defaults
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/pam.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index b03bf290fd2..8ed7a721a3e 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -38,6 +38,7 @@ let p11Auth = mkOption { default = config.security.pam.p11.enable; + defaultText = literalExpression "config.security.pam.p11.enable"; type = types.bool; description = '' If set, keys listed in @@ -49,6 +50,7 @@ let u2fAuth = mkOption { default = config.security.pam.u2f.enable; + defaultText = literalExpression "config.security.pam.u2f.enable"; type = types.bool; description = '' If set, users listed in @@ -61,6 +63,7 @@ let yubicoAuth = mkOption { default = config.security.pam.yubico.enable; + defaultText = literalExpression "config.security.pam.yubico.enable"; type = types.bool; description = '' If set, users listed in @@ -83,6 +86,7 @@ let usbAuth = mkOption { default = config.security.pam.usb.enable; + defaultText = literalExpression "config.security.pam.usb.enable"; type = types.bool; description = '' If set, users listed in @@ -93,6 +97,7 @@ let otpwAuth = mkOption { default = config.security.pam.enableOTPW; + defaultText = literalExpression "config.security.pam.enableOTPW"; type = types.bool; description = '' If set, the OTPW system will be used (if @@ -126,6 +131,7 @@ let fprintAuth = mkOption { default = config.services.fprintd.enable; + defaultText = literalExpression "config.services.fprintd.enable"; type = types.bool; description = '' If set, fingerprint reader will be used (if exists and @@ -135,6 +141,7 @@ let oathAuth = mkOption { default = config.security.pam.oath.enable; + defaultText = literalExpression "config.security.pam.oath.enable"; type = types.bool; description = '' If set, the OATH Toolkit will be used. @@ -249,6 +256,7 @@ let pamMount = mkOption { default = config.security.pam.mount.enable; + defaultText = literalExpression "config.security.pam.mount.enable"; type = types.bool; description = '' Enable PAM mount (pam_mount) system to mount fileystems on user login. |