···207208209 /* Like `mapAttrsRecursive', but it takes an additional predicate
210- function that tells it whether to recursive into an attribute
211 set. If it returns false, `mapAttrsRecursiveCond' does not
212 recurse, but does apply the map function. It is returns true, it
213 does recurse, and does not apply the map function.
···207208209 /* Like `mapAttrsRecursive', but it takes an additional predicate
210+ function that tells it whether to recurse into an attribute
211 set. If it returns false, `mapAttrsRecursiveCond' does not
212 recurse, but does apply the map function. It is returns true, it
213 does recurse, and does not apply the map function.
+1-2
nixos/modules/programs/ssh.nix
···3637 askPassword = mkOption {
38 type = types.str;
039 description = ''Program used by SSH to ask for passwords.'';
40 };
41···225 '';
226227 environment.variables.SSH_ASKPASS = optionalString config.services.xserver.enable askPassword;
228-229- programs.ssh.askPassword = mkDefault "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass";
230231 };
232}
···3637 askPassword = mkOption {
38 type = types.str;
39+ default = "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass";
40 description = ''Program used by SSH to ask for passwords.'';
41 };
42···226 '';
227228 environment.variables.SSH_ASKPASS = optionalString config.services.xserver.enable askPassword;
00229230 };
231}
+1-2
nixos/modules/programs/venus.nix
···99 };
100101 outputTheme = mkOption {
0102 type = types.path;
103 description = ''
104 Directory containing a config.ini file which is merged with this one.
···168 environment.SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
169 startAt = cfg.dates;
170 };
171-172- services.venus.outputTheme = mkDefault "${pkgs.venus}/themes/classic_fancy";
173174 };
175}
···99 };
100101 outputTheme = mkOption {
102+ default = "${pkgs.venus}/themes/classic_fancy";
103 type = types.path;
104 description = ''
105 Directory containing a config.ini file which is merged with this one.
···169 environment.SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
170 startAt = cfg.dates;
171 };
00172173 };
174}
+1-2
nixos/modules/services/amqp/activemq/default.nix
···32 '';
33 };
34 configurationDir = mkOption {
035 description = ''
36 The base directory for ActiveMQ's configuration.
37 By default, this directory is searched for a file named activemq.xml,
···124 ${cfg.extraJavaOptions} ActiveMQBroker "${cfg.configurationURI}"
125 '';
126 };
127-128- services.activemq.configurationDir = mkDefault "${activemq}/conf";
129130 };
131
···32 '';
33 };
34 configurationDir = mkOption {
35+ default = "${activemq}/conf";
36 description = ''
37 The base directory for ActiveMQ's configuration.
38 By default, this directory is searched for a file named activemq.xml,
···125 ${cfg.extraJavaOptions} ActiveMQBroker "${cfg.configurationURI}"
126 '';
127 };
00128129 };
130
+1-2
nixos/modules/services/misc/nixos-manual.nix
···8081 services.nixosManual.browser = mkOption {
82 type = types.path;
083 description = ''
84 Browser used to show the manual.
85 '';
···116117 services.mingetty.helpLine = mkIf cfg.showManual
118 "\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
119-120- services.nixosManual.browser = mkDefault "${pkgs.w3m-nox}/bin/w3m";
121122 };
123
···8081 services.nixosManual.browser = mkOption {
82 type = types.path;
83+ default = "${pkgs.w3m-nox}/bin/w3m";
84 description = ''
85 Browser used to show the manual.
86 '';
···117118 services.mingetty.helpLine = mkIf cfg.showManual
119 "\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
00120121 };
122
+1-3
nixos/modules/services/misc/subsonic.nix
···9798 transcoders = mkOption {
99 type = types.listOf types.path;
0100 description = ''
101 List of paths to transcoder executables that should be accessible
102 from Subsonic. Symlinks will be created to each executable inside
···152 };
153154 users.extraGroups.subsonic.gid = config.ids.gids.subsonic;
155-156- services.subsonic.transcoders = mkDefault [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
157-158 };
159}
···9798 transcoders = mkOption {
99 type = types.listOf types.path;
100+ default = [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
101 description = ''
102 List of paths to transcoder executables that should be accessible
103 from Subsonic. Symlinks will be created to each executable inside
···153 };
154155 users.extraGroups.subsonic.gid = config.ids.gids.subsonic;
000156 };
157}
···52 default = "opendns";
53 type = types.nullOr types.string;
54 description = ''
55- The name of the upstream DNSCrypt resolver to use.
00056 '';
57 };
58 customResolver = mkOption {
···52 default = "opendns";
53 type = types.nullOr types.string;
54 description = ''
55+ The name of the upstream DNSCrypt resolver to use. See
56+ <literal>${resolverListFile}</literal> for alternative resolvers
57+ (e.g., if you are concerned about logging and/or server
58+ location).
59 '';
60 };
61 customResolver = mkOption {
···8788 background = mkOption {
89 type = types.str;
090 description = ''
91 The background image or color to use.
92 '';
···152 };
153154 users.extraGroups.lightdm.gid = config.ids.gids.lightdm;
155-156- services.xserver.displayManager.lightdm.background = mkDefault "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
157-158 services.xserver.tty = null; # We might start multiple X servers so let the tty increment themselves..
159 services.xserver.display = null; # We specify our own display (and logfile) in xserver-wrapper up there
160 };
···8788 background = mkOption {
89 type = types.str;
90+ default = "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
91 description = ''
92 The background image or color to use.
93 '';
···153 };
154155 users.extraGroups.lightdm.gid = config.ids.gids.lightdm;
000156 services.xserver.tty = null; # We might start multiple X servers so let the tty increment themselves..
157 services.xserver.display = null; # We specify our own display (and logfile) in xserver-wrapper up there
158 };