···207207208208209209 /* Like `mapAttrsRecursive', but it takes an additional predicate
210210- function that tells it whether to recursive into an attribute
210210+ function that tells it whether to recurse into an attribute
211211 set. If it returns false, `mapAttrsRecursiveCond' does not
212212 recurse, but does apply the map function. It is returns true, it
213213 does recurse, and does not apply the map function.
+1-2
nixos/modules/programs/ssh.nix
···36363737 askPassword = mkOption {
3838 type = types.str;
3939+ default = "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass";
3940 description = ''Program used by SSH to ask for passwords.'';
4041 };
4142···225226 '';
226227227228 environment.variables.SSH_ASKPASS = optionalString config.services.xserver.enable askPassword;
228228-229229- programs.ssh.askPassword = mkDefault "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass";
230229231230 };
232231}
+1-2
nixos/modules/programs/venus.nix
···9999 };
100100101101 outputTheme = mkOption {
102102+ default = "${pkgs.venus}/themes/classic_fancy";
102103 type = types.path;
103104 description = ''
104105 Directory containing a config.ini file which is merged with this one.
···168169 environment.SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
169170 startAt = cfg.dates;
170171 };
171171-172172- services.venus.outputTheme = mkDefault "${pkgs.venus}/themes/classic_fancy";
173172174173 };
175174}
+1-2
nixos/modules/services/amqp/activemq/default.nix
···3232 '';
3333 };
3434 configurationDir = mkOption {
3535+ default = "${activemq}/conf";
3536 description = ''
3637 The base directory for ActiveMQ's configuration.
3738 By default, this directory is searched for a file named activemq.xml,
···124125 ${cfg.extraJavaOptions} ActiveMQBroker "${cfg.configurationURI}"
125126 '';
126127 };
127127-128128- services.activemq.configurationDir = mkDefault "${activemq}/conf";
129128130129 };
131130
+1-2
nixos/modules/services/misc/nixos-manual.nix
···80808181 services.nixosManual.browser = mkOption {
8282 type = types.path;
8383+ default = "${pkgs.w3m-nox}/bin/w3m";
8384 description = ''
8485 Browser used to show the manual.
8586 '';
···116117117118 services.mingetty.helpLine = mkIf cfg.showManual
118119 "\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
119119-120120- services.nixosManual.browser = mkDefault "${pkgs.w3m-nox}/bin/w3m";
121120122121 };
123122
+1-3
nixos/modules/services/misc/subsonic.nix
···97979898 transcoders = mkOption {
9999 type = types.listOf types.path;
100100+ default = [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
100101 description = ''
101102 List of paths to transcoder executables that should be accessible
102103 from Subsonic. Symlinks will be created to each executable inside
···152153 };
153154154155 users.extraGroups.subsonic.gid = config.ids.gids.subsonic;
155155-156156- services.subsonic.transcoders = mkDefault [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
157157-158156 };
159157}
···5252 default = "opendns";
5353 type = types.nullOr types.string;
5454 description = ''
5555- The name of the upstream DNSCrypt resolver to use.
5555+ The name of the upstream DNSCrypt resolver to use. See
5656+ <literal>${resolverListFile}</literal> for alternative resolvers
5757+ (e.g., if you are concerned about logging and/or server
5858+ location).
5659 '';
5760 };
5861 customResolver = mkOption {
···87878888 background = mkOption {
8989 type = types.str;
9090+ default = "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
9091 description = ''
9192 The background image or color to use.
9293 '';
···152153 };
153154154155 users.extraGroups.lightdm.gid = config.ids.gids.lightdm;
155155-156156- services.xserver.displayManager.lightdm.background = mkDefault "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
157157-158156 services.xserver.tty = null; # We might start multiple X servers so let the tty increment themselves..
159157 services.xserver.display = null; # We specify our own display (and logfile) in xserver-wrapper up there
160158 };