fix: nix flakes install

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega
2024-10-08 20:37:17 +02:00
parent f2985e7c78
commit f21d70949f
2 changed files with 2 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-bluetooth pkgsFor.${system}.gnome.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,6 @@
swww, swww,
python3, python3,
libgtop, libgtop,
gnome-bluetooth,
gobject-introspection, gobject-introspection,
glib, glib,
}: let }: let
@@ -55,7 +54,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-bluetooth python3]} export PATH=$PATH:${lib.makeBinPath [dart-sass fd btop pipewire bluez bluez-tools networkmanager matugen swww grimblast gpu-screen-recorder brightnessctl pkgs.gnome.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 $@
''; '';