diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-27 09:04:07 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-27 09:32:01 +0200 |
commit | c10d82358f875bb3c2104b7958777eb0033e024f (patch) | |
tree | 658bb8710791870ade4bf915dc450c6efda4e623 /nixos/modules/config | |
parent | 5e4abf76c7e74660369bcb5e2648746db03142c8 (diff) | |
download | nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.gz nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.bz2 nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.lz nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.xz nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.zst nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.zip |
treewide: add types to boolean / enable options or make use of mkEnableOption
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/fonts/fontdir.nix | 1 | ||||
-rw-r--r-- | nixos/modules/config/fonts/ghostscript.nix | 1 | ||||
-rw-r--r-- | nixos/modules/config/ldap.nix | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/config/fonts/fontdir.nix b/nixos/modules/config/fonts/fontdir.nix index cc70fbf8744..a6aa84ae822 100644 --- a/nixos/modules/config/fonts/fontdir.nix +++ b/nixos/modules/config/fonts/fontdir.nix @@ -25,6 +25,7 @@ in fonts = { enableFontDir = mkOption { + type = types.bool; default = false; description = '' Whether to create a directory with links to all fonts in diff --git a/nixos/modules/config/fonts/ghostscript.nix b/nixos/modules/config/fonts/ghostscript.nix index 1c62a525de9..b1dd81bf2d2 100644 --- a/nixos/modules/config/fonts/ghostscript.nix +++ b/nixos/modules/config/fonts/ghostscript.nix @@ -9,6 +9,7 @@ with lib; fonts = { enableGhostscriptFonts = mkOption { + type = types.bool; default = false; description = '' Whether to add the fonts provided by Ghostscript (such as diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix index b554f197dc4..4c8b527676b 100644 --- a/nixos/modules/config/ldap.nix +++ b/nixos/modules/config/ldap.nix @@ -88,6 +88,7 @@ in }; useTLS = mkOption { + type = types.bool; default = false; description = '' If enabled, use TLS (encryption) over an LDAP (port 389) @@ -109,6 +110,7 @@ in daemon = { enable = mkOption { + type = types.bool; default = false; description = '' Whether to let the nslcd daemon (nss-pam-ldapd) handle the |