summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/services/cluster/k3s/default.nix1
-rw-r--r--nixos/modules/services/mail/postfix.nix2
-rw-r--r--nixos/modules/services/networking/bind.nix36
-rw-r--r--nixos/modules/services/networking/ircd-hybrid/default.nix8
-rw-r--r--nixos/modules/services/networking/mailpile.nix4
-rw-r--r--nixos/modules/services/networking/quassel.nix4
-rw-r--r--nixos/modules/services/networking/radvd.nix1
-rw-r--r--nixos/modules/services/networking/ssh/lshd.nix6
-rw-r--r--nixos/modules/services/web-apps/mediawiki.nix1
-rw-r--r--nixos/modules/tasks/filesystems.nix9
-rw-r--r--pkgs/applications/misc/obsidian/default.nix4
-rw-r--r--pkgs/applications/misc/pdfsam-basic/default.nix4
-rw-r--r--pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix (renamed from pkgs/desktops/xfce/art/xfce4-icon-theme.nix)0
-rw-r--r--pkgs/desktops/xfce/art/xfwm4-themes/default.nix (renamed from pkgs/desktops/xfce/art/xfwm4-themes.nix)0
-rw-r--r--pkgs/desktops/xfce/default.nix38
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix)28
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin.nix)21
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix)19
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix)23
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix)22
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-i3-workspaces-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-i3-workspaces-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix)25
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix)22
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin/default.nix18
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix (renamed from pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin.nix)0
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix31
-rw-r--r--pkgs/development/compilers/crystal/default.nix8
-rw-r--r--pkgs/development/compilers/swift/default.nix5
-rw-r--r--pkgs/development/libraries/librelp/default.nix4
-rw-r--r--pkgs/development/libraries/opendkim/default.nix14
-rw-r--r--pkgs/development/libraries/opendkim/openssl-1.1.patch81
-rw-r--r--pkgs/development/ocaml-modules/elpi/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/jingoo/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/jwto/default.nix3
-rw-r--r--pkgs/development/ocaml-modules/lens/default.nix1
-rw-r--r--pkgs/development/ocaml-modules/mirage-nat/default.nix7
-rw-r--r--pkgs/development/ocaml-modules/nocrypto/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/pgocaml/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/ppx_deriving/default.nix30
-rw-r--r--pkgs/development/ocaml-modules/ppx_deriving_protobuf/default.nix1
-rw-r--r--pkgs/development/ocaml-modules/ppx_deriving_yojson/default.nix15
-rw-r--r--pkgs/development/ocaml-modules/ppx_tools/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/visitors/default.nix12
-rw-r--r--pkgs/development/php-packages/pdo_sqlsrv/default.nix4
-rw-r--r--pkgs/development/php-packages/sqlsrv/default.nix4
-rw-r--r--pkgs/development/python-modules/adafruit-platformdetect/default.nix4
-rw-r--r--pkgs/development/python-modules/awesomeversion/default.nix4
-rw-r--r--pkgs/development/python-modules/deprecated/default.nix4
-rw-r--r--pkgs/development/python-modules/dj-email-url/default.nix4
-rw-r--r--pkgs/development/python-modules/django_reversion/default.nix4
-rw-r--r--pkgs/development/python-modules/dogpile.cache/default.nix4
-rw-r--r--pkgs/development/python-modules/duecredit/default.nix4
-rw-r--r--pkgs/development/python-modules/elementpath/default.nix4
-rw-r--r--pkgs/development/python-modules/fire/default.nix4
-rw-r--r--pkgs/development/python-modules/flask-migrate/default.nix4
-rw-r--r--pkgs/development/python-modules/flask-paginate/default.nix4
-rw-r--r--pkgs/development/python-modules/google-cloud-vision/default.nix4
-rw-r--r--pkgs/development/python-modules/icecream/default.nix4
-rw-r--r--pkgs/development/python-modules/lazr/config.nix4
-rw-r--r--pkgs/development/python-modules/mautrix/default.nix4
-rw-r--r--pkgs/development/tools/delve/default.nix4
-rw-r--r--pkgs/os-specific/linux/batman-adv/default.nix2
-rw-r--r--pkgs/os-specific/linux/batman-adv/version.nix8
-rw-r--r--pkgs/servers/dns/nsd/default.nix4
-rw-r--r--pkgs/servers/monitoring/telegraf/default.nix6
-rw-r--r--pkgs/shells/elvish/default.nix6
-rw-r--r--pkgs/tools/misc/gparted/default.nix4
-rw-r--r--pkgs/tools/misc/os-prober/default.nix4
-rw-r--r--pkgs/tools/networking/privoxy/default.nix4
-rw-r--r--pkgs/tools/security/ccid/default.nix4
-rw-r--r--pkgs/tools/system/bottom/default.nix6
-rw-r--r--pkgs/top-level/all-packages.nix1
-rw-r--r--pkgs/top-level/ocaml-packages.nix5
-rw-r--r--pkgs/top-level/perl-packages.nix2
82 files changed, 377 insertions, 275 deletions
diff --git a/nixos/modules/services/cluster/k3s/default.nix b/nixos/modules/services/cluster/k3s/default.nix
index f0317fdbd160..e62fbc94415c 100644
--- a/nixos/modules/services/cluster/k3s/default.nix
+++ b/nixos/modules/services/cluster/k3s/default.nix
@@ -47,6 +47,7 @@ in
extraFlags = mkOption {
description = "Extra flags to pass to the k3s command.";
+ type = types.str;
default = "";
example = "--no-deploy traefik --cluster-cidr 10.24.0.0/16";
};
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index 1dcdcab8d481..63c0961b7568 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -560,6 +560,7 @@ in
transport = mkOption {
default = "";
+ type = types.lines;
description = "
Entries for the transport map, cf. man-page transport(8).
";
@@ -573,6 +574,7 @@ in
dnsBlacklistOverrides = mkOption {
default = "";
+ type = types.lines;
description = "contents of check_client_access for overriding dnsBlacklists";
};
diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix
index faad88635759..e1b997b6a868 100644
--- a/nixos/modules/services/networking/bind.nix
+++ b/nixos/modules/services/networking/bind.nix
@@ -8,6 +8,35 @@ let
bindUser = "named";
+ bindZoneOptions = {
+ name = mkOption {
+ type = types.str;
+ description = "Name of the zone.";
+ };
+ master = mkOption {
+ description = "Master=false means slave server";
+ type = types.bool;
+ };
+ file = mkOption {
+ type = types.str;
+ description = "Zone file resource records contain columns of data, separated by whitespace, that define the record.";
+ };
+ masters = mkOption {
+ type = types.listOf types.str;
+ description = "List of servers for inclusion in stub and secondary zones.";
+ };
+ slaves = mkOption {
+ type = types.listOf types.str;
+ description = "Addresses who may request zone transfers.";
+ default = [];
+ };
+ extraConfig = mkOption {
+ type = types.str;
+ description = "Extra zone config to be appended at the end of the zone section.";
+ default = "";
+ };
+ };
+
confFile = pkgs.writeText "named.conf"
''
include "/etc/bind/rndc.key";
@@ -72,6 +101,7 @@ in
cacheNetworks = mkOption {
default = ["127.0.0.0/24"];
+ type = types.listOf types.str;
description = "
What networks are allowed to use us as a resolver. Note
that this is for recursive queries -- all networks are
@@ -83,6 +113,7 @@ in
blockedNetworks = mkOption {
default = [];
+ type = types.listOf types.str;
description = "
What networks are just blocked.
";
@@ -90,6 +121,7 @@ in
ipv4Only = mkOption {
default = false;
+ type = types.bool;
description = "
Only use ipv4, even if the host supports ipv6.
";
@@ -97,6 +129,7 @@ in
forwarders = mkOption {
default = config.networking.nameservers;
+ type = types.listOf types.str;
description = "
List of servers we should forward requests to.
";
@@ -120,10 +153,9 @@ in
zones = mkOption {
default = [];
+ type = types.listOf (types.submodule [ { options = bindZoneOptions; } ]);
description = "
List of zones we claim authority over.
- master=false means slave server; slaves means addresses
- who may request zone transfer.
";
example = [{
name = "example.com";
diff --git a/nixos/modules/services/networking/ircd-hybrid/default.nix b/nixos/modules/services/networking/ircd-hybrid/default.nix
index 91d0bf437d69..0781159b6ee7 100644
--- a/nixos/modules/services/networking/ircd-hybrid/default.nix
+++ b/nixos/modules/services/networking/ircd-hybrid/default.nix
@@ -40,6 +40,7 @@ in
serverName = mkOption {
default = "hades.arpa";
+ type = types.str;
description = "
IRCD server name.
";
@@ -47,6 +48,7 @@ in
sid = mkOption {
default = "0NL";
+ type = types.str;
description = "
IRCD server unique ID in a net of servers.
";
@@ -54,6 +56,7 @@ in
description = mkOption {
default = "Hybrid-7 IRC server.";
+ type = types.str;
description = "
IRCD server description.
";
@@ -62,6 +65,7 @@ in
rsaKey = mkOption {
default = null;
example = literalExample "/root/certificates/irc.key";
+ type = types.nullOr types.path;
description = "
IRCD server RSA key.
";
@@ -70,6 +74,7 @@ in
certificate = mkOption {
default = null;
example = literalExample "/root/certificates/irc.pem";
+ type = types.nullOr types.path;
description = "
IRCD server SSL certificate. There are some limitations - read manual.
";
@@ -77,6 +82,7 @@ in
adminEmail = mkOption {
default = "<bit-bucket@example.com>";
+ type = types.str;
example = "<name@domain.tld>";
description = "
IRCD server administrator e-mail.
@@ -86,6 +92,7 @@ in
extraIPs = mkOption {
default = [];
example = ["127.0.0.1"];
+ type = types.listOf types.str;
description = "
Extra IP's to bind.
";
@@ -93,6 +100,7 @@ in
extraPort = mkOption {
default = "7117";
+ type = types.str;
description = "
Extra port to avoid filtering.
";
diff --git a/nixos/modules/services/networking/mailpile.nix b/nixos/modules/services/networking/mailpile.nix
index b79ee11d17db..4673a2580b60 100644
--- a/nixos/modules/services/networking/mailpile.nix
+++ b/nixos/modules/services/networking/mailpile.nix
@@ -21,11 +21,13 @@ in
enable = mkEnableOption "Mailpile the mail client";
hostname = mkOption {
+ type = types.str;
default = "localhost";
description = "Listen to this hostname or ip.";
};
port = mkOption {
- default = "33411";
+ type = types.port;
+ default = 33411;
description = "Listen on this port.";
};
};
diff --git a/nixos/modules/services/networking/quassel.nix b/nixos/modules/services/networking/quassel.nix
index 2958fb9a8b33..bfbd3b46ab4d 100644
--- a/