summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:11:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:11:32 +0200
commit19ffa212af8763e84e09e1e56fba99e1d7124d84 (patch)
treef205e5a65dbea20a0bc79fa45ef75f6c577dffdf /nixos/modules/services/networking
parentc738b309eea83669bbd590f7293db5d725233193 (diff)
downloadnixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar.gz
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar.bz2
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar.lz
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar.xz
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.tar.zst
nixpkgs-19ffa212af8763e84e09e1e56fba99e1d7124d84.zip
types.uniq types.int -> types.int
types.int already implies uniqueness.
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/freenet.nix2
-rw-r--r--nixos/modules/services/networking/kippo.nix2
-rw-r--r--nixos/modules/services/networking/notbit.nix4
-rw-r--r--nixos/modules/services/networking/ntopng.nix2
4 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/freenet.nix b/nixos/modules/services/networking/freenet.nix
index b069526c768..3903a2c708c 100644
--- a/nixos/modules/services/networking/freenet.nix
+++ b/nixos/modules/services/networking/freenet.nix
@@ -26,7 +26,7 @@ in
       };
 
       nice = mkOption {
-        type = types.uniq types.int;
+        type = types.int;
         default = 10;
         description = "Set the nice level for the Freenet daemon";
       };
diff --git a/nixos/modules/services/networking/kippo.nix b/nixos/modules/services/networking/kippo.nix
index 3412d02862b..68f26eefe27 100644
--- a/nixos/modules/services/networking/kippo.nix
+++ b/nixos/modules/services/networking/kippo.nix
@@ -21,7 +21,7 @@ rec {
       };
       port = mkOption {
         default = 2222;
-        type = types.uniq types.int;
+        type = types.int;
         description = ''TCP port number for kippo to bind to.'';
       };
       hostname = mkOption {
diff --git a/nixos/modules/services/networking/notbit.nix b/nixos/modules/services/networking/notbit.nix
index 8aaccebccde..a96e181cb80 100644
--- a/nixos/modules/services/networking/notbit.nix
+++ b/nixos/modules/services/networking/notbit.nix
@@ -39,13 +39,13 @@ with lib;
       };
 
       port = mkOption {
-        type = types.uniq types.int;
+        type = types.int;
         default = 8444;
         description = "The port which the daemon listens for other bitmessage clients";
       };
 
       nice = mkOption {
-        type = types.uniq types.int;
+        type = types.int;
         default = 10;
         description = "Set the nice level for the notbit daemon";
       };
diff --git a/nixos/modules/services/networking/ntopng.nix b/nixos/modules/services/networking/ntopng.nix
index ab86f1a5b2b..c1525711713 100644
--- a/nixos/modules/services/networking/ntopng.nix
+++ b/nixos/modules/services/networking/ntopng.nix
@@ -57,7 +57,7 @@ in
 
       http-port = mkOption {
         default = 3000;
-        type = types.uniq types.int;
+        type = types.int;
         description = ''
           Sets the HTTP port of the embedded web server.
         '';