nixos: use types.lines for extraConfig

wip/yesman
Emery Hemingway 8 years ago
parent 795f968b17
commit b675619391
  1. 2
      nixos/modules/services/audio/mpd.nix
  2. 1
      nixos/modules/services/backup/bacula.nix
  3. 2
      nixos/modules/services/hardware/tlp.nix
  4. 2
      nixos/modules/services/mail/dovecot.nix
  5. 2
      nixos/modules/services/misc/bepasty.nix
  6. 2
      nixos/modules/services/misc/octoprint.nix
  7. 2
      nixos/modules/services/misc/redmine.nix
  8. 2
      nixos/modules/services/monitoring/bosun.nix
  9. 2
      nixos/modules/services/monitoring/graphite.nix
  10. 1
      nixos/modules/services/monitoring/munin.nix
  11. 1
      nixos/modules/services/monitoring/zabbix-agent.nix
  12. 5
      nixos/modules/services/network-filesystems/xtreemfs.nix
  13. 1
      nixos/modules/services/networking/bind.nix
  14. 1
      nixos/modules/services/networking/chrony.nix
  15. 1
      nixos/modules/services/networking/cntlm.nix
  16. 2
      nixos/modules/services/networking/ddclient.nix
  17. 1
      nixos/modules/services/networking/dhcpd.nix
  18. 2
      nixos/modules/services/networking/hostapd.nix
  19. 2
      nixos/modules/services/networking/kippo.nix
  20. 2
      nixos/modules/services/networking/murmur.nix
  21. 1
      nixos/modules/services/networking/prayer.nix
  22. 1
      nixos/modules/services/networking/prosody.nix
  23. 2
      nixos/modules/services/networking/smokeping.nix
  24. 2
      nixos/modules/services/networking/unbound.nix
  25. 2
      nixos/modules/services/networking/xinetd.nix
  26. 1
      nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
  27. 1
      nixos/modules/services/web-servers/apache-httpd/moodle.nix
  28. 1
      nixos/modules/services/web-servers/apache-httpd/wordpress.nix
  29. 2
      nixos/modules/services/x11/display-managers/sddm.nix

@ -49,7 +49,7 @@ in {
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
description = ''
Extra directives added to to the end of MPD's configuration file,

@ -340,6 +340,7 @@ in {
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
Extra configuration for Bacula Director Daemon.
'';

@ -40,7 +40,7 @@ in
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
description = "Additional configuration variables for TLP";
};

@ -111,7 +111,7 @@ in
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
example = "mail_debug = yes";
description = "Additional entries to put verbatim into Dovecot's config file.";

@ -53,7 +53,7 @@ in
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
description = ''
Extra configuration for bepasty server to be appended on the
configuration.

@ -73,7 +73,7 @@ in
};
extraConfig = mkOption {
type = types.attrs;
type = types.lines;
default = {};
description = "Extra options which are added to OctoPrint's YAML configuration file.";
};

@ -71,7 +71,7 @@ in {
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
description = "Extra configuration in configuration.yml";
};

@ -107,7 +107,7 @@ in {
};
extraConfig = mkOption {
type = types.string;
type = types.lines;
default = "";
description = ''
Extra configuration options for Bosun. You should describe your

@ -167,7 +167,7 @@ in {
CACHE_TYPE: 'filesystem'
CACHE_DIR: '/tmp/graphite-api-cache'
'';
type = types.str;
type = types.lines;
};
};

@ -100,6 +100,7 @@ in
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
<filename>munin-node.conf</filename> extra configuration. See
<link xlink:href='http://munin-monitoring.org/wiki/munin-node.conf' />

@ -53,6 +53,7 @@ in
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
Configuration that is injected verbatim into the configuration file.
'';

@ -153,6 +153,7 @@ in
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
example = ''
# specify whether SSL is required
@ -173,6 +174,7 @@ in
replication = {
enable = mkEnableOption "XtreemFS DIR replication plugin";
extraConfig = mkOption {
type = types.lines;
example = ''
# participants of the replication including this replica
babudb.repl.participant.0 = 192.168.0.10
@ -269,6 +271,7 @@ in
'';
};
extraConfig = mkOption {
type = types.lines;
example = ''
osd_check_interval = 300
no_atime = true
@ -307,6 +310,7 @@ in
replication = {
enable = mkEnableOption "XtreemFS MRC replication plugin";
extraConfig = mkOption {
type = types.lines;
example = ''
# participants of the replication including this replica
babudb.repl.participant.0 = 192.168.0.10
@ -385,6 +389,7 @@ in
'';
};
extraConfig = mkOption {
type = types.lines;
example = ''
local_clock_renewal = 0
remote_time_sync = 30000

@ -113,6 +113,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = "
Extra lines to be added verbatim to the generated named configuration file.

@ -51,6 +51,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra configuration directives that should be added to

@ -61,6 +61,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = "Verbatim contents of <filename>cntlm.conf</filename>.";
};

@ -89,7 +89,7 @@ in
extraConfig = mkOption {
default = "";
type = str;
type = lines;
description = ''
Extra configuration. Contents will be added verbatim to the configuration file.
'';

@ -47,6 +47,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "";
example = ''
option subnet-mask 255.255.255.0;

@ -140,7 +140,7 @@ in
ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
'';
type = types.string;
type = types.lines;
description = "Extra configuration options to put in hostapd.conf.";
};
};

@ -46,7 +46,7 @@ rec {
};
extraConfig = mkOption {
default = "";
type = types.string;
type = types.lines;
description = ''Extra verbatim configuration added to the end of kippo.cfg.'';
};
};

@ -230,7 +230,7 @@ in
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
description = "Extra configuration to put into mumur.ini.";
};

@ -56,6 +56,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "" ;
description = ''
Extra configuration. Contents will be added verbatim to the configuration file.

@ -195,6 +195,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = '''';
description = "Additional prosody configuration";
};

@ -244,7 +244,7 @@ in
description = "Target configuration";
};
extraConfig = mkOption {
type = types.string;
type = types.lines;
default = "";
description = "Any additional customization not already included.";
};

@ -79,7 +79,7 @@ in
extraConfig = mkOption {
default = "";
type = types.str;
type = types.lines;
description = ''
Extra unbound config. See
<citerefentry><refentrytitle>unbound.conf</refentrytitle><manvolnum>8

@ -124,7 +124,7 @@ in
};
extraConfig = mkOption {
type = types.string;
type = types.lines;
default = "";
description = "Extra configuration-lines added to the section of the service.";
};

@ -288,6 +288,7 @@ in
};
extraConfig = mkOption {
type = types.lines;
default = "";
example =
''

@ -164,6 +164,7 @@ in
extraConfig = mkOption {
type = types.lines;
default = "";
example =
''

@ -212,6 +212,7 @@ in
example = "[ \"en_GB\" \"de_DE\" ];";
};
extraConfig = mkOption {
type = types.lines;
default = "";
example =
''

@ -86,7 +86,7 @@ in
};
extraConfig = mkOption {
type = types.str;
type = types.lines;
default = "";
example = ''
[Autologin]

Loading…
Cancel
Save