fix(nix): remove gnome attrset access for gnome-bluetooth (#307)

This commit is contained in:
Keanu Ashwell
2024-10-07 10:14:27 +10:00
committed by GitHub
parent 83d2aa6440
commit 493e7b9a89
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
pkgsFor.${system}.grimblast pkgsFor.${system}.grimblast
pkgsFor.${system}.gpu-screen-recorder pkgsFor.${system}.gpu-screen-recorder
pkgsFor.${system}.brightnessctl pkgsFor.${system}.brightnessctl
pkgsFor.${system}.gnome.gnome-bluetooth pkgsFor.${system}.gnome-bluetooth
pkgsFor.${system}.python3 pkgsFor.${system}.python3
pkgsFor.${system}.matugen pkgsFor.${system}.matugen
inputs.ags.packages.${system}.agsWithTypes inputs.ags.packages.${system}.agsWithTypes

View File

@@ -21,7 +21,7 @@
swww, swww,
python3, python3,
libgtop, libgtop,
gnome.gnome-bluetooth, gnome-bluetooth,
gobject-introspection, gobject-introspection,
glib, glib,
}: let }: let
@@ -55,7 +55,7 @@ in {
desktop = { desktop = {
inherit config; inherit config;
script = writeShellScriptBin pname '' script = writeShellScriptBin pname ''
export PATH=$PATH:${lib.makeBinPath [dart-sass fd btop pipewire bluez bluez-tools networkmanager matugen swww grimblast gpu-screen-recorder brightnessctl gnome.gnome-bluetooth python3]} export PATH=$PATH:${lib.makeBinPath [dart-sass fd btop pipewire bluez bluez-tools networkmanager matugen swww grimblast gpu-screen-recorder brightnessctl gnome-bluetooth python3]}
export GI_TYPELIB_PATH=${libgtop}/lib/girepository-1.0:${glib}/lib/girepository-1.0:$GI_TYPELIB_PATH export GI_TYPELIB_PATH=${libgtop}/lib/girepository-1.0:${glib}/lib/girepository-1.0:$GI_TYPELIB_PATH
${ags}/bin/ags -b hyprpanel -c ${config}/config.js $@ ${ags}/bin/ags -b hyprpanel -c ${config}/config.js $@
''; '';