fix indentation in several nixos option descriptions

authored by

michael bishop and committed by
Jörg Thalheim
e5cefade 1946e872

+29 -24
+5 -5
nixos/modules/config/gnu.nix
··· 7 7 gnu = mkOption { 8 8 type = types.bool; 9 9 default = false; 10 - description = 11 - '' When enabled, GNU software is chosen by default whenever a there is 12 - a choice between GNU and non-GNU software (e.g., GNU lsh 13 - vs. OpenSSH). 14 - ''; 10 + description = '' 11 + When enabled, GNU software is chosen by default whenever a there is 12 + a choice between GNU and non-GNU software (e.g., GNU lsh 13 + vs. OpenSSH). 14 + ''; 15 15 }; 16 16 }; 17 17
+1 -1
nixos/modules/config/i18n.nix
··· 46 46 default = with pkgs.kbdKeymaps; [ dvp neo ]; 47 47 defaultText = ''with pkgs.kbdKeymaps; [ dvp neo ]''; 48 48 description = '' 49 - List of additional packages that provide console fonts, keymaps and 49 + List of additional packages that provide console fonts, keymaps and 50 50 other resources. 51 51 ''; 52 52 };
+8 -8
nixos/modules/programs/mosh.nix
··· 9 9 in 10 10 { 11 11 options.programs.mosh = { 12 - enable = mkOption { 13 - description = '' 14 - Whether to enable mosh. Note, this will open ports in your firewall! 15 - ''; 16 - default = false; 17 - example = true; 18 - type = lib.types.bool; 19 - }; 12 + enable = mkOption { 13 + description = '' 14 + Whether to enable mosh. Note, this will open ports in your firewall! 15 + ''; 16 + default = false; 17 + example = true; 18 + type = lib.types.bool; 19 + }; 20 20 }; 21 21 22 22 config = mkIf cfg.enable {
+13 -8
nixos/modules/services/networking/wireguard.nix
··· 31 31 default = null; 32 32 example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I="; 33 33 type = with types; nullOr str; 34 - description = ''base64 preshared key generated by wg genpsk. Optional, 35 - and may be omitted. This option adds an additional layer of 36 - symmetric-key cryptography to be mixed into the already existing 37 - public-key cryptography, for post-quantum resistance.''; 34 + description = '' 35 + base64 preshared key generated by wg genpsk. Optional, 36 + and may be omitted. This option adds an additional layer of 37 + symmetric-key cryptography to be mixed into the already existing 38 + public-key cryptography, for post-quantum resistance. 39 + ''; 38 40 }; 39 41 40 42 listenPort = mkOption { 41 43 default = null; 42 44 type = with types; nullOr int; 43 45 example = 51820; 44 - description = ''16-bit port for listening. Optional; if not specified, 45 - automatically generated based on interface name.''; 46 + description = '' 47 + 16-bit port for listening. Optional; if not specified, 48 + automatically generated based on interface name. 49 + ''; 46 50 }; 47 51 48 52 preSetup = mkOption { ··· 51 55 '']; 52 56 default = []; 53 57 type = with types; listOf str; 54 - description = ''A list of commands called at the start of the interface 55 - setup.''; 58 + description = '' 59 + A list of commands called at the start of the interface setup. 60 + ''; 56 61 }; 57 62 58 63 postSetup = mkOption {
+2 -2
nixos/modules/system/boot/loader/generations-dir/generations-dir.nix
··· 44 44 copyKernels = mkOption { 45 45 default = false; 46 46 type = types.bool; 47 - description = " 47 + description = '' 48 48 Whether copy the necessary boot files into /boot, so 49 49 /nix/store is not needed by the boot loader. 50 - "; 50 + ''; 51 51 }; 52 52 53 53 };