summary refs log tree commit diff
path: root/nixos/modules/services/misc/logkeys.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-08-08 22:48:27 +0200
committerSilvan Mosberger <infinisil@icloud.com>2019-08-31 18:19:00 +0200
commit478e7184f88db1364cc75107036f7c4decc0cc41 (patch)
tree5ff3d3a18e3aef9af4333c392a94751333754270 /nixos/modules/services/misc/logkeys.nix
parent69d58ee24506e2b3b5aff347ae3b0791110340ec (diff)
downloadnixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.gz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.bz2
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.lz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.xz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.zst
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.zip
nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type

Also fix up some minor module problems along the way
Diffstat (limited to 'nixos/modules/services/misc/logkeys.nix')
-rw-r--r--nixos/modules/services/misc/logkeys.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/logkeys.nix b/nixos/modules/services/misc/logkeys.nix
index ad13d9eaa67..0082db63a06 100644
--- a/nixos/modules/services/misc/logkeys.nix
+++ b/nixos/modules/services/misc/logkeys.nix
@@ -11,7 +11,7 @@ in {
     device = mkOption {
       description = "Use the given device as keyboard input event device instead of /dev/input/eventX default.";
       default = null;
-      type = types.nullOr types.string;
+      type = types.nullOr types.str;
       example = "/dev/input/event15";
     };
   };