home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d18b50fcf84e43b92c1234bef475ec3667c1d1ea
parent 5094faac9abace6e19d943a107c966677881050d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  1 Oct 2020 18:25:34 +0200

systems/hokkaido: add gnome-buletooth-quick-connect

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gnome/extensions/bluetooth-quick-connect/default.nix | 33+++++++++++++++++++++++++++++++++
Musers/vincent/desktop/gnome.nix | 1+
3 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -117,4 +117,5 @@ rec { containerd = containerd_1_3; gnome-shell-extension-shell = pkgs.callPackage ./gnome/extensions/shell { }; + gnome-bluetooth-quick-connect = pkgs.callPackage ./gnome/extensions/bluetooth-quick-connect { }; } diff --git a/pkgs/gnome/extensions/bluetooth-quick-connect/default.nix b/pkgs/gnome/extensions/bluetooth-quick-connect/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, glib, gettext, bash, nodePackages, gnome3 }: + +stdenv.mkDerivation rec { + pname = "gnome-bluetooth-quick-connect"; + version = "2020-09-03"; + + src = fetchFromGitHub { + owner = "bjarosze"; + repo = "gnome-bluetooth-quick-connect"; + rev = "662250e1ef3ebaafdb237c06ea39fbdbee09ee40"; + sha256 = "12lra0wkjdjm9bfjvan1hsfn55x0j2bsfgdjwqklggvv52iwr9wm"; + }; + + nativeBuildInputs = [ + glib + gettext + nodePackages.typescript + ]; + + uuid = "bluetooth-quick-connect@bjarosze.gmail.com"; + + installPhase = '' + mkdir -p $out/share/gnome-shell/extensions/${uuid} + cp -r * $out/share/gnome-shell/extensions/${uuid} + ''; + + meta = with stdenv.lib; { + description = "Allows paired Bluetooth devices to be connected and disconnected via the GNOME system menu, without need to enter the Settings app every time."; + license = licenses.gpl3; + maintainers = with maintainers; [ vdemeester ]; + homepage = "https://github.com/bjarosze/gnome-bluetooth-quick-connect"; + }; +} diff --git a/users/vincent/desktop/gnome.nix b/users/vincent/desktop/gnome.nix @@ -30,6 +30,7 @@ gnomeExtensions.sound-output-device-chooser gnomeExtensions.tilingnome my.gnome-shell-extension-shell + my.gnome-bluetooth-quick-connect gnome3.gnome-shell-extensions pop-gtk-theme