summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorWout Mertens <Wout.Mertens@gmail.com>2020-11-05 14:21:13 +0100
committerGitHub <noreply@github.com>2020-11-05 14:21:13 +0100
commit91d70c1edba12e686773eab02aa9453ec55a4489 (patch)
treec0259e9ee1d808ca74ebaec1003ecdccad0d5284 /nixos/modules/services
parent0de5ab3f20424c0dfb0a2a90ef2a136f7fa790d6 (diff)
parent497b7018e4d92b512d1c097cf4dee6e2ee05faf7 (diff)
downloadnixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar.gz
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar.bz2
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar.lz
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar.xz
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.tar.zst
nixpkgs-91d70c1edba12e686773eab02aa9453ec55a4489.zip
Merge pull request #102273 from rnhmjoj/bluetooth
nixos/bluetooth: disable restart on unit changes
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/hardware/bluetooth.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix
index dfa39e7f602..230492c6b09 100644
--- a/nixos/modules/services/hardware/bluetooth.nix
+++ b/nixos/modules/services/hardware/bluetooth.nix
@@ -87,6 +87,8 @@ in {
       bluetooth = {
         wantedBy = [ "bluetooth.target" ];
         aliases  = [ "dbus-org.bluez.service" ];
+        # restarting can leave people without a mouse/keyboard
+        unitConfig.X-RestartIfChanged = false;
       };
     };