about summary refs log tree commit diff
path: root/modules/nixos/bluetooth.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-02-14 23:04:05 +0300
committerAzat Bahawi <azat@bahawi.net>2023-02-14 23:04:05 +0300
commit7ed022bc9a3c89834016c866e387b60ba4523eb6 (patch)
treea0984c8df3016e84910818a60d7f3aeb42b7a718 /modules/nixos/bluetooth.nix
parent2023-02-03 (diff)
2023-02-14
Diffstat (limited to '')
-rw-r--r--modules/nixos/bluetooth.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/nixos/bluetooth.nix b/modules/nixos/bluetooth.nix
index cf92179..76131bf 100644
--- a/modules/nixos/bluetooth.nix
+++ b/modules/nixos/bluetooth.nix
@@ -16,14 +16,9 @@ in {
     hardware.bluetooth = {
       enable = true;
       settings.General.FastConnectable = true;
-    };
-
-    environment = {
-      etc."bluetooth/input.conf".text = generators.toINI {} {
-        General = {
-          IdleTimeout = 15;
-          UserspaceHID = true;
-        };
+      input.General = {
+        IdleTimeout = 15;
+        UserspaceHID = true;
       };
     };
   };

Consider giving Nix/NixOS a try! <3