···7 gnu = mkOption {
8 type = types.bool;
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- '';
15 };
16 };
17
···7 gnu = mkOption {
8 type = types.bool;
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+ '';
15 };
16 };
17
+1-1
nixos/modules/config/i18n.nix
···46 default = with pkgs.kbdKeymaps; [ dvp neo ];
47 defaultText = ''with pkgs.kbdKeymaps; [ dvp neo ]'';
48 description = ''
49- List of additional packages that provide console fonts, keymaps and
50 other resources.
51 '';
52 };
···46 default = with pkgs.kbdKeymaps; [ dvp neo ];
47 defaultText = ''with pkgs.kbdKeymaps; [ dvp neo ]'';
48 description = ''
49+ List of additional packages that provide console fonts, keymaps and
50 other resources.
51 '';
52 };
+8-8
nixos/modules/programs/mosh.nix
···9in
10{
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- };
20 };
2122 config = mkIf cfg.enable {
···9in
10{
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+ };
20 };
2122 config = mkIf cfg.enable {
+13-8
nixos/modules/services/networking/wireguard.nix
···31 default = null;
32 example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
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.'';
0038 };
3940 listenPort = mkOption {
41 default = null;
42 type = with types; nullOr int;
43 example = 51820;
44- description = ''16-bit port for listening. Optional; if not specified,
45- automatically generated based on interface name.'';
0046 };
4748 preSetup = mkOption {
···51 ''];
52 default = [];
53 type = with types; listOf str;
54- description = ''A list of commands called at the start of the interface
55- setup.'';
056 };
5758 postSetup = mkOption {
···31 default = null;
32 example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
33 type = with types; nullOr str;
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+ '';
40 };
4142 listenPort = mkOption {
43 default = null;
44 type = with types; nullOr int;
45 example = 51820;
46+ description = ''
47+ 16-bit port for listening. Optional; if not specified,
48+ automatically generated based on interface name.
49+ '';
50 };
5152 preSetup = mkOption {
···55 ''];
56 default = [];
57 type = with types; listOf str;
58+ description = ''
59+ A list of commands called at the start of the interface setup.
60+ '';
61 };
6263 postSetup = mkOption {