summary refs log tree commit diff
path: root/nixos/modules/services/games
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-30 17:15:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-12-01 22:30:00 +0100
commitdbe8182e7433374b5ae7b5454126ce46211f0f03 (patch)
treee5e91a4a1970de4693979d5ac0830cac7cda0e15 /nixos/modules/services/games
parent9063accddd2e68dcc71032459a58399e977374c9 (diff)
downloadnixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar.gz
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar.bz2
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar.lz
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar.xz
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.tar.zst
nixpkgs-dbe8182e7433374b5ae7b5454126ce46211f0f03.zip
treewide: switch to port type for nixos modules
Diffstat (limited to 'nixos/modules/services/games')
-rw-r--r--nixos/modules/services/games/factorio.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/games/factorio.nix b/nixos/modules/services/games/factorio.nix
index f54c265c34b..844fd2bce51 100644
--- a/nixos/modules/services/games/factorio.nix
+++ b/nixos/modules/services/games/factorio.nix
@@ -46,7 +46,7 @@ in
     services.factorio = {
       enable = mkEnableOption (lib.mdDoc name);
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 34197;
         description = lib.mdDoc ''
           The port to which the service should bind.