git.iko.soy/typeable/nixpkgs
on master help sign in
treewide: add bool type to enable options, or make use of mkEnableOption

Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.

commit0412bde9423cbc26d68d1d744b22ec4e45bcbac8 authorDominik Xaver Hörl <hoe.dom@gmx.de> dateMon 20 Apr 2020, 20:05 (7 years ago) parent3bbd074
59 files changed+71−175
nixos/modules/programs/cdemu.nix+1 nixos/modules/programs/criu.nix+1 nixos/modules/programs/systemtap.nix+1 nixos/modules/programs/zsh/oh-my-zsh.nix+1 nixos/modules/services/amqp/rabbitmq.nix+1 nixos/modules/services/backup/mysql-backup.nix+1−6 nixos/modules/services/backup/postgresql-backup.nix+1−6 nixos/modules/services/databases/clickhouse.nix+1−4 nixos/modules/services/databases/firebird.nix+1−6 nixos/modules/services/databases/memcached.nix+1−6 nixos/modules/services/databases/mongodb.nix+1−6 nixos/modules/services/databases/virtuoso.nix+1−4 nixos/modules/services/hardware/ratbagd.nix+1−6 nixos/modules/services/hardware/thermald.nix+1−6 nixos/modules/services/mail/spamassassin.nix+1−4 nixos/modules/services/misc/autofs.nix+1 nixos/modules/services/misc/cgminer.nix+1−7 nixos/modules/services/misc/devmon.nix+1−6 nixos/modules/services/misc/disnix.nix+1−4 nixos/modules/services/misc/felix.nix+1−4 nixos/modules/services/misc/ihaskell.nix+1 nixos/modules/services/misc/safeeyes.nix+1−4 nixos/modules/services/misc/svnserve.nix+1 nixos/modules/services/misc/synergy.nix+4−12 nixos/modules/services/network-filesystems/netatalk.nix+2−4 nixos/modules/services/network-filesystems/rsyncd.nix+1−4 nixos/modules/services/network-filesystems/xtreemfs.nix+6 nixos/modules/services/network-filesystems/yandex-disk.nix+1 nixos/modules/services/networking/amuled.nix+1 nixos/modules/services/networking/babeld.nix+1−6 nixos/modules/services/networking/bind.nix+1−6 nixos/modules/services/networking/bitlbee.nix+1 nixos/modules/services/networking/cntlm.nix+1−6 nixos/modules/services/networking/flashpolicyd.nix+1 nixos/modules/services/networking/gvpe.nix+2−6 nixos/modules/services/networking/hostapd.nix+1 nixos/modules/services/networking/ircd-hybrid/default.nix+1−6 nixos/modules/services/networking/mailpile.nix+2−6 nixos/modules/services/networking/ntp/chrony.nix+1 nixos/modules/services/networking/ntp/ntpd.nix+1 nixos/modules/services/networking/openfire.nix+1−6 nixos/modules/services/networking/prayer.nix+1−6 nixos/modules/services/networking/quassel.nix+1−6 nixos/modules/services/networking/radvd.nix+1 nixos/modules/services/networking/rdnssd.nix+1 nixos/modules/services/networking/sabnzbd.nix+2−4 nixos/modules/services/networking/shairport-sync.nix+1 nixos/modules/services/networking/ssh/lshd.nix+1 nixos/modules/services/networking/xinetd.nix+1−6 nixos/modules/services/security/fprot.nix+1−6 nixos/modules/services/system/kerberos/default.nix+1−6 nixos/modules/services/system/localtime.nix+1 nixos/modules/services/system/uptimed.nix+1 nixos/modules/services/web-servers/jboss/default.nix+1 nixos/modules/services/x11/desktop-managers/enlightenment.nix+1 nixos/modules/services/x11/desktop-managers/gnome3.nix+1 nixos/modules/services/x11/desktop-managers/kodi.nix+1 nixos/modules/services/x11/display-managers/startx.nix+1 nixos/modules/services/x11/hardware/wacom.nix+1
nixos/modules/programs/cdemu.nix+1
@@ -8,6 +8,7 @@ in {
88 options = {
99 programs.cdemu = {
1010 enable = mkOption {
11+ type = types.bool;
1112 default = false;
1213 description = ''
1314 <command>cdemu</command> for members of
nixos/modules/programs/criu.nix+1
@@ -8,6 +8,7 @@ in {
88 options = {
99 programs.criu = {
1010 enable = mkOption {
11+ type = types.bool;
1112 default = false;
1213 description = ''
1314 Install <command>criu</command> along with necessary kernel options.
nixos/modules/programs/systemtap.nix+1
@@ -8,6 +8,7 @@ in {
88 options = {
99 programs.systemtap = {
1010 enable = mkOption {
11+ type = types.bool;
1112 default = false;
1213 description = ''
1314 Install <command>systemtap</command> along with necessary kernel options.
nixos/modules/programs/zsh/oh-my-zsh.nix+1
@@ -39,6 +39,7 @@ in
3939 options = {
4040 programs.zsh.ohMyZsh = {
4141 enable = mkOption {
42+ type = types.bool;
4243 default = false;
4344 description = ''
4445 Enable oh-my-zsh.
nixos/modules/services/amqp/rabbitmq.nix+1
@@ -17,6 +17,7 @@ in {
1717 options = {
1818 services.rabbitmq = {
1919 enable = mkOption {
20+ type = types.bool;
2021 default = false;
2122 description = ''
2223 Whether to enable the RabbitMQ server, an Advanced Message
nixos/modules/services/backup/mysql-backup.nix+1−6
@@ -37,12 +37,7 @@ in
3737
3838 services.mysqlBackup = {
3939
40− enable = mkOption {
41− default = false;
42− description = ''
43− Whether to enable MySQL backups.
44− '';
45− };
40+ enable = mkEnableOption "MySQL backups";
4641
4742 calendar = mkOption {
4843 type = types.str;
nixos/modules/services/backup/postgresql-backup.nix+1−6
@@ -44,12 +44,7 @@ in {
4444
4545 options = {
4646 services.postgresqlBackup = {
47− enable = mkOption {
48− default = false;
49− description = ''
50− Whether to enable PostgreSQL dumps.
51− '';
52− };
47+ enable = mkEnableOption "PostgreSQL dumps";
5348
5449 startAt = mkOption {
5550 default = "*-*-* 01:15:00";
nixos/modules/services/databases/clickhouse.nix+1−4
@@ -11,10 +11,7 @@ with lib;
1111
1212 services.clickhouse = {
1313
14− enable = mkOption {
15− default = false;
16− description = "Whether to enable ClickHouse database server.";
17− };
14+ enable = mkEnableOption "ClickHouse database server";
1815
1916 };
2017
nixos/modules/services/databases/firebird.nix+1−6
@@ -40,12 +40,7 @@ in
4040
4141 services.firebird = {
4242
43− enable = mkOption {
44− default = false;
45− description = ''
46− Whether to enable the Firebird super server.
47− '';
48− };
43+ enable = mkEnableOption "the Firebird super server";
4944
5045 package = mkOption {
5146 default = pkgs.firebirdSuper;
nixos/modules/services/databases/memcached.nix+1−6
@@ -18,12 +18,7 @@ in
1818
1919 services.memcached = {
2020
21− enable = mkOption {
22− default = false;
23− description = "
24− Whether to enable Memcached.
25− ";
26− };
21+ enable = mkEnableOption "Memcached";
2722
2823 user = mkOption {
2924 default = "memcached";
nixos/modules/services/databases/mongodb.nix+1−6
@@ -29,12 +29,7 @@ in
2929
3030 services.mongodb = {
3131
32− enable = mkOption {
33− default = false;
34− description = "
35− Whether to enable the MongoDB server.
36− ";
37− };
32+ enable = mkEnableOption "the MongoDB server";
3833
3934 package = mkOption {
4035 default = pkgs.mongodb;
nixos/modules/services/databases/virtuoso.nix+1−4
@@ -13,10 +13,7 @@ with lib;
1313
1414 services.virtuoso = {
1515
16− enable = mkOption {
17− default = false;
18− description = "Whether to enable Virtuoso Opensource database server.";
19− };
16+ enable = mkEnableOption "Virtuoso Opensource database server";
2017
2118 config = mkOption {
2219 default = "";
nixos/modules/services/hardware/ratbagd.nix+1−6
@@ -10,12 +10,7 @@ in
1010
1111 options = {
1212 services.ratbagd = {
13− enable = mkOption {
14− default = false;
15− description = ''
16− Whether to enable ratbagd for configuring gaming mice.
17− '';
18− };
13+ enable = mkEnableOption "ratbagd for configuring gaming mice";
1914 };
2015 };
2116
nixos/modules/services/hardware/thermald.nix+1−6
@@ -8,12 +8,7 @@ in {
88 ###### interface
99 options = {
1010 services.thermald = {
11− enable = mkOption {
12− default = false;
13− description = ''
14− Whether to enable thermald, the temperature management daemon.
15− '';
16− };
11+ enable = mkEnableOption "thermald, the temperature management daemon";
1712
1813 debug = mkOption {
1914 type = types.bool;
nixos/modules/services/mail/spamassassin.nix+1−4
@@ -12,10 +12,7 @@ in
1212 options = {
1313
1414 services.spamassassin = {
15− enable = mkOption {
16− default = false;
17− description = "Whether to run the SpamAssassin daemon";
18− };
15+ enable = mkEnableOption "the SpamAssassin daemon";
1916
2017 debug = mkOption {
2118 default = false;
nixos/modules/services/misc/autofs.nix+1
@@ -19,6 +19,7 @@ in
1919 services.autofs = {
2020
2121 enable = mkOption {
22+ type = types.bool;
2223 default = false;
2324 description = ''
2425 Mount filesystems on demand. Unmount them automatically.
nixos/modules/services/misc/cgminer.nix+1−7
@@ -31,13 +31,7 @@ in
3131
3232 services.cgminer = {
3333
34− enable = mkOption {
35− default = false;
36− description = ''
37− Whether to enable cgminer, an ASIC/FPGA/GPU miner for bitcoin and
38− litecoin.
39− '';
40− };
34+ enable = mkEnableOption "cgminer, an ASIC/FPGA/GPU miner for bitcoin and litecoin";
4135
4236 package = mkOption {
4337 default = pkgs.cgminer;
nixos/modules/services/misc/devmon.nix+1−6
@@ -8,12 +8,7 @@ let
88in {
99 options = {
1010 services.devmon = {
11− enable = mkOption {
12− default = false;
13− description = ''
14− Whether to enable devmon, an automatic device mounting daemon.
15− '';
16− };
11+ enable = mkEnableOption "devmon, an automatic device mounting daemon";
1712 };
1813 };
1914
nixos/modules/services/misc/disnix.nix+1−4
@@ -17,10 +17,7 @@ in
1717
1818 services.disnix = {
1919
20− enable = mkOption {
21− default = false;
22− description = "Whether to enable Disnix";
23− };
20+ enable = mkEnableOption "Disnix";
2421
2522 enableMultiUser = mkOption {
2623 type = types.bool;
nixos/modules/services/misc/felix.nix+1−4
@@ -17,10 +17,7 @@ in
1717
1818 services.felix = {
1919
20− enable = mkOption {
21− default = false;
22− description = "Whether to enable the Apache Felix OSGi service";
23− };
20+ enable = mkEnableOption "the Apache Felix OSGi service";
2421
2522 bundles = mkOption {
2623 type = types.listOf types.package;
nixos/modules/services/misc/ihaskell.nix+1
@@ -15,6 +15,7 @@ in
1515 options = {
1616 services.ihaskell = {
1717 enable = mkOption {
18+ type = types.bool;
1819 default = false;
1920 description = "Autostart an IHaskell notebook service.";
2021 };
nixos/modules/services/misc/safeeyes.nix+1−4
@@ -16,10 +16,7 @@ in
1616
1717 services.safeeyes = {
1818
19− enable = mkOption {
20− default = false;
21− description = "Whether to enable the safeeyes OSGi service";
22− };
19+ enable = mkEnableOption "the safeeyes OSGi service";
2320
2421 };
2522
nixos/modules/services/misc/svnserve.nix+1
@@ -18,6 +18,7 @@ in
1818 services.svnserve = {
1919
2020 enable = mkOption {
21+ type = types.bool;
2122 default = false;
2223 description = "Whether to enable svnserve to serve Subversion repositories through the SVN protocol.";
2324 };
nixos/modules/services/misc/synergy.nix+4−12
@@ -19,12 +19,8 @@ in
1919 # !!! All these option descriptions needs to be cleaned up.
2020
2121 client = {
22− enable = mkOption {
23− default = false;
24− description = "
25− Whether to enable the Synergy client (receive keyboard and mouse events from a Synergy server).
26− ";
27− };
22+ enable = mkEnableOption "the Synergy client (receive keyboard and mouse events from a Synergy server)";
23+
2824 screenName = mkOption {
2925 default = "";
3026 description = ''
@@ -47,12 +43,8 @@ in
4743 };
4844
4945 server = {
50− enable = mkOption {
51− default = false;
52− description = ''
53− Whether to enable the Synergy server (send keyboard and mouse events).
54− '';
55− };
46+ enable = mkEnableOption "the Synergy server (send keyboard and mouse events)";
47+
5648 configFile = mkOption {
5749 default = "/etc/synergy-server.conf";
5850 description = "The Synergy server configuration file.";
nixos/modules/services/network-filesystems/netatalk.nix+2−4
@@ -43,10 +43,7 @@ in
4343 options = {
4444 services.netatalk = {
4545
46− enable = mkOption {
47− default = false;
48− description = "Whether to enable the Netatalk AFP fileserver.";
49− };
46+ enable = mkEnableOption "the Netatalk AFP fileserver";
5047
5148 port = mkOption {
5249 default = 548;
@@ -65,6 +62,7 @@ in
6562
6663 homes = {
6764 enable = mkOption {
65+ type = types.bool;
6866 default = false;
6967 description = "Enable sharing of the UNIX server user home directories.";
7068 };
nixos/modules/services/network-filesystems/rsyncd.nix+1−4
@@ -29,10 +29,7 @@ in
2929 options = {
3030 services.rsyncd = {
3131
32− enable = mkOption {
33− default = false;
34− description = "Whether to enable the rsync daemon.";
35− };
32+ enable = mkEnableOption "the rsync daemon";
3633
3734 motd = mkOption {
3835 type = types.str;
nixos/modules/services/network-filesystems/xtreemfs.nix+6
@@ -100,11 +100,13 @@ in
100100
101101 dir = {
102102 enable = mkOption {
103+ type = types.bool;
103104 default = true;
104105 description = ''
105106 Whether to enable XtreemFS DIR service.
106107 '';
107108 };
109+
108110 uuid = mkOption {
109111 example = "eacb6bab-f444-4ebf-a06a-3f72d7465e40";
110112 description = ''
@@ -218,11 +220,13 @@ in
218220
219221 mrc = {
220222 enable = mkOption {
223+ type = types.bool;
221224 default = true;
222225 description = ''
223226 Whether to enable XtreemFS MRC service.
224227 '';
225228 };
229+
226230 uuid = mkOption {
227231 example = "eacb6bab-f444-4ebf-a06a-3f72d7465e41";
228232 description = ''
@@ -354,11 +358,13 @@ in
354358
355359 osd = {
356360 enable = mkOption {
361+ type = types.bool;
357362 default = true;
358363 description = ''
359364 Whether to enable XtreemFS OSD service.
360365 '';
361366 };
367+
362368 uuid = mkOption {
363369 example = "eacb6bab-f444-4ebf-a06a-3f72d7465e42";
364370 description = ''
nixos/modules/services/network-filesystems/yandex-disk.nix+1
@@ -21,6 +21,7 @@ in
2121 services.yandex-disk = {
2222
2323 enable = mkOption {
24+ type = types.bool;
2425 default = false;
2526 description = "
2627 Whether to enable Yandex-disk client. See https://disk.yandex.ru/
nixos/modules/services/networking/amuled.nix+1
@@ -16,6 +16,7 @@ in
1616 services.amule = {
1717
1818 enable = mkOption {
19+ type = types.bool;
1920 default = false;
2021 description = ''
2122 Whether to run the AMule daemon. You need to manually run "amuled --ec-config" to configure the service for the first time.
nixos/modules/services/networking/babeld.nix+1−6
@@ -35,12 +35,7 @@ in
3535
3636 services.babeld = {
3737
38− enable = mkOption {
39− default = false;
40− description = ''
41− Whether to run the babeld network routing daemon.
42− '';
43− };
38+ enable = mkEnableOption "the babeld network routing daemon";
4439
4540 interfaceDefaults = mkOption {
4641 default = null;
nixos/modules/services/networking/bind.nix+1−6
@@ -68,12 +68,7 @@ in
6868
6969 services.bind = {
7070
71− enable = mkOption {
72− default = false;
73− description = "
74− Whether to enable BIND domain name server.
75− ";
76− };
71+ enable = mkEnableOption "BIND domain name server";
7772
7873 cacheNetworks = mkOption {
7974 default = ["127.0.0.0/24"];
nixos/modules/services/networking/bitlbee.nix+1
@@ -48,6 +48,7 @@ in
4848 services.bitlbee = {
4949
5050 enable = mkOption {
51+ type = types.bool;
5152 default = false;
5253 description = ''
5354 Whether to run the BitlBee IRC to other chat network gateway.
nixos/modules/services/networking/cntlm.nix+1−6
@@ -33,12 +33,7 @@ in
3333
3434 options.services.cntlm = {
3535
36− enable = mkOption {
37− default = false;
38− description = ''
39− Whether to enable the cntlm, which start a local proxy.
40− '';
41− };
36+ enable = mkEnableOption "cntlm, which starts a local proxy";
4237
4338 username = mkOption {
4439 description = ''
nixos/modules/services/networking/flashpolicyd.nix+1
@@ -39,6 +39,7 @@ in
3939 services.flashpolicyd = {
4040
4141 enable = mkOption {
42+ type = types.bool;
4243 default = false;
4344 description =
4445 ''
nixos/modules/services/networking/gvpe.nix+2−6
@@ -42,12 +42,8 @@ in
4242{
4343 options = {
4444 services.gvpe = {
45− enable = mkOption {
46− default = false;
47− description = ''
48− Whether to run gvpe
49− '';
50− };
45+ enable = lib.mkEnableOption "gvpe";
46+
5147 nodename = mkOption {
5248 default = null;
5349 description =''
nixos/modules/services/networking/hostapd.nix+1
@@ -49,6 +49,7 @@ in
4949 services.hostapd = {
5050
5151 enable = mkOption {
52+ type = types.bool;
5253 default = false;
5354 description = ''
5455 Enable putting a wireless interface into infrastructure mode,
nixos/modules/services/networking/ircd-hybrid/default.nix+1−6
@@ -36,12 +36,7 @@ in
3636
3737 services.ircdHybrid = {
3838
39− enable = mkOption {
40− default = false;
41− description = "
42− Enable IRCD.
43− ";
44− };
39+ enable = mkEnableOption "IRCD";
4540
4641 serverName = mkOption {
4742 default = "hades.arpa";
nixos/modules/services/networking/mailpile.nix+2−6
@@ -18,12 +18,8 @@ in
1818 options = {
1919
2020 services.mailpile = {
21− enable = mkOption {
22− default = false;
23− description = "
24− Whether to enable Mailpile the mail client.
25− ";
26− };
21+ enable = mkEnableOption "Mailpile the mail client";
22+
2723 hostname = mkOption {
2824 default = "localhost";
2925 description = "Listen to this hostname or ip.";
nixos/modules/services/networking/ntp/chrony.nix+1
@@ -30,6 +30,7 @@ in
3030 options = {
3131 services.chrony = {
3232 enable = mkOption {
33+ type = types.bool;
3334 default = false;
3435 description = ''
3536 Whether to synchronise your machine's time using chrony.
nixos/modules/services/networking/ntp/ntpd.nix+1
@@ -40,6 +40,7 @@ in
4040 services.ntp = {
4141
4242 enable = mkOption {
43+ type = types.bool;
4344 default = false;
4445 description = ''
4546 Whether to synchronise your machine's time using ntpd, as a peer in
nixos/modules/services/networking/openfire.nix+1−6
@@ -9,12 +9,7 @@ with lib;
99
1010 services.openfire = {
1111
12− enable = mkOption {
13− default = false;
14− description = "
15− Whether to enable OpenFire XMPP server.
16− ";
17− };
12+ enable = mkEnableOption "OpenFire XMPP server";
1813
1914 usePostgreSQL = mkOption {
2015 default = true;
nixos/modules/services/networking/prayer.nix+1−6
@@ -41,12 +41,7 @@ in
4141
4242 services.prayer = {
4343
44− enable = mkOption {
45− default = false;
46− description = ''
47− Whether to run the prayer webmail http server.
48− '';
49− };
44+ enable = mkEnableOption "the prayer webmail http server";
5045
5146 port = mkOption {
5247 default = "2080";
nixos/modules/services/networking/quassel.nix+1−6
@@ -16,12 +16,7 @@ in
1616
1717 services.quassel = {
1818
19− enable = mkOption {
20− default = false;
21− description = ''
22− Whether to run the Quassel IRC client daemon.
23− '';
24− };
19+ enable = mkEnableOption "the Quassel IRC client daemon";
2520
2621 certificateFile = mkOption {
2722 type = types.nullOr types.str;
nixos/modules/services/networking/radvd.nix+1
@@ -19,6 +19,7 @@ in
1919 options = {
2020
2121 services.radvd.enable = mkOption {
22+ type = types.bool;
2223 default = false;
2324 description =
2425 ''
nixos/modules/services/networking/rdnssd.nix+1
@@ -17,6 +17,7 @@ in
1717 options = {
1818
1919 services.rdnssd.enable = mkOption {
20+ type = types.bool;
2021 default = false;
2122 #default = config.networking.enableIPv6;
2223 description =
nixos/modules/services/networking/sabnzbd.nix+2−4
@@ -15,10 +15,8 @@ in
1515
1616 options = {
1717 services.sabnzbd = {
18− enable = mkOption {
19− default = false;
20− description = "Whether to enable the sabnzbd server.";
21− };
18+ enable = mkEnableOption "the sabnzbd server";
19+
2220 configFile = mkOption {
2321 default = "/var/lib/sabnzbd/sabnzbd.ini";
2422 description = "Path to config file.";
nixos/modules/services/networking/shairport-sync.nix+1
@@ -17,6 +17,7 @@ in
1717 services.shairport-sync = {
1818
1919 enable = mkOption {
20+ type = types.bool;
2021 default = false;
2122 description = ''
2223 Enable the shairport-sync daemon.
nixos/modules/services/networking/ssh/lshd.nix+1
@@ -19,6 +19,7 @@ in
1919 services.lshd = {
2020
2121 enable = mkOption {
22+ type = types.bool;
2223 default = false;
2324 description = ''
2425 Whether to enable the GNU lshd SSH2 daemon, which allows
nixos/modules/services/networking/xinetd.nix+1−6
@@ -44,12 +44,7 @@ in
4444
4545 options = {
4646
47− services.xinetd.enable = mkOption {
48− default = false;
49− description = ''
50− Whether to enable the xinetd super-server daemon.
51− '';
52− };
47+ services.xinetd.enable = mkEnableOption "the xinetd super-server daemon";
5348
5449 services.xinetd.extraDefaults = mkOption {
5550 default = "";
nixos/modules/services/security/fprot.nix+1−6
@@ -10,12 +10,7 @@ in {
1010
1111 services.fprot = {
1212 updater = {
13− enable = mkOption {
14− default = false;
15− description = ''
16− Whether to enable automatic F-Prot virus definitions database updates.
17− '';
18− };
13+ enable = mkEnableOption "automatic F-Prot virus definitions database updates";
1914
2015 productData = mkOption {
2116 description = ''
nixos/modules/services/system/kerberos/default.nix+1−6
@@ -51,12 +51,7 @@ in
5151 ###### interface
5252 options = {
5353 services.kerberos_server = {
54− enable = mkOption {
55− default = false;
56− description = ''
57− Enable the kerberos authentification server.
58− '';
59− };
54+ enable = lib.mkEnableOption "the kerberos authentification server";
6055
6156 realms = mkOption {
6257 type = types.attrsOf (types.submodule realm);
nixos/modules/services/system/localtime.nix+1
@@ -8,6 +8,7 @@ in {
88 options = {
99 services.localtime = {
1010 enable = mkOption {
11+ type = types.bool;
1112 default = false;
1213 description = ''
1314 Enable <literal>localtime</literal>, simple daemon for keeping the system
nixos/modules/services/system/uptimed.nix+1
@@ -10,6 +10,7 @@ in
1010 options = {
1111 services.uptimed = {
1212 enable = mkOption {
13+ type = types.bool;
1314 default = false;
1415 description = ''
1516 Enable <literal>uptimed</literal>, allowing you to track
nixos/modules/services/web-servers/jboss/default.nix+1
@@ -24,6 +24,7 @@ in
2424 services.jboss = {
2525
2626 enable = mkOption {
27+ type = types.bool;
2728 default = false;
2829 description = "Whether to enable JBoss. WARNING : this package is outdated and is known to have vulnerabilities.";
2930 };
nixos/modules/services/x11/desktop-managers/enlightenment.nix+1
@@ -23,6 +23,7 @@ in
2323 options = {
2424
2525 services.xserver.desktopManager.enlightenment.enable = mkOption {
26+ type = types.bool;
2627 default = false;
2728 description = "Enable the Enlightenment desktop environment.";
2829 };
nixos/modules/services/x11/desktop-managers/gnome3.nix+1
@@ -72,6 +72,7 @@ in
7272
7373 services.xserver.desktopManager.gnome3 = {
7474 enable = mkOption {
75+ type = types.bool;
7576 default = false;
7677 description = "Enable Gnome 3 desktop manager.";
7778 };
nixos/modules/services/x11/desktop-managers/kodi.nix+1
@@ -10,6 +10,7 @@ in
1010 options = {
1111 services.xserver.desktopManager.kodi = {
1212 enable = mkOption {
13+ type = types.bool;
1314 default = false;
1415 description = "Enable the kodi multimedia center.";
1516 };
nixos/modules/services/x11/display-managers/startx.nix+1
@@ -15,6 +15,7 @@ in
1515 options = {
1616 services.xserver.displayManager.startx = {
1717 enable = mkOption {
18+ type = types.bool;
1819 default = false;
1920 description = ''
2021 Whether to enable the dummy "startx" pseudo-display manager,
nixos/modules/services/x11/hardware/wacom.nix+1
@@ -15,6 +15,7 @@ in
1515 services.xserver.wacom = {
1616
1717 enable = mkOption {
18+ type = types.bool;
1819 default = false;
1920 description = ''
2021 Whether to enable the Wacom touchscreen/digitizer/tablet.