1
1
Fork 0

nix: use hyprland package from program

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-25 15:02:50 -05:00
parent 37cb01915d
commit 9a764b27d5
Signed by: myned
GPG key ID: C7224454F7881A34
6 changed files with 6 additions and 11 deletions

View file

@ -11,7 +11,7 @@ with lib; let
codium = "${config.home-manager.users.${config.custom.username}.programs.vscode.package}/bin/codium"; codium = "${config.home-manager.users.${config.custom.username}.programs.vscode.package}/bin/codium";
firefox-esr = "${config.home-manager.users.${config.custom.username}.programs.firefox.finalPackage}/bin/firefox-esr"; firefox-esr = "${config.home-manager.users.${config.custom.username}.programs.firefox.finalPackage}/bin/firefox-esr";
gnome-text-editor = "${pkgs.gnome-text-editor}/bin/gnome-text-editor"; gnome-text-editor = "${pkgs.gnome-text-editor}/bin/gnome-text-editor";
hyprctl = "${pkgs.hyprland}/bin/hyprctl"; hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock"; hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock";
hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker"; hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker";
inhibit = "~/.local/bin/inhibit"; inhibit = "~/.local/bin/inhibit";

View file

@ -5,7 +5,7 @@
... ...
}: }:
with lib; let with lib; let
hyprctl = "${pkgs.hyprland}/bin/hyprctl"; hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
cfg = config.custom.desktops.hyprland.plugins; cfg = config.custom.desktops.hyprland.plugins;
in { in {

View file

@ -6,6 +6,7 @@
}: }:
with lib; let with lib; let
gamescope = "${config.programs.gamescope.package}/bin/gamescope"; gamescope = "${config.programs.gamescope.package}/bin/gamescope";
hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty"; kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty";
loupe = "${pkgs.loupe}/bin/loupe"; loupe = "${pkgs.loupe}/bin/loupe";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors"; onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors";

View file

@ -10,9 +10,7 @@ with lib; let
bluetoothctl = "${pkgs.bluez}/bin/bluetoothctl"; bluetoothctl = "${pkgs.bluez}/bin/bluetoothctl";
easyeffects = "${pkgs.easyeffects}/bin/easyeffects"; easyeffects = "${pkgs.easyeffects}/bin/easyeffects";
echo = "${pkgs.coreutils}/bin/echo"; echo = "${pkgs.coreutils}/bin/echo";
hyprctl = "${ hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
config.home-manager.users.${config.custom.username}.wayland.windowManager.hyprland.finalPackage
}/bin/hyprctl";
inhibit = config.home-manager.users.${config.custom.username}.home.file.".local/bin/inhibit".source; inhibit = config.home-manager.users.${config.custom.username}.home.file.".local/bin/inhibit".source;
jq = "${pkgs.jq}/bin/jq"; jq = "${pkgs.jq}/bin/jq";
loginctl = "${pkgs.systemd}/bin/loginctl"; loginctl = "${pkgs.systemd}/bin/loginctl";

View file

@ -6,9 +6,7 @@
}: }:
with lib; let with lib; let
grep = "${pkgs.gnugrep}/bin/grep"; grep = "${pkgs.gnugrep}/bin/grep";
hyprctl = "${ hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
config.home-manager.users.${config.custom.username}.wayland.windowManager.hyprland.finalPackage
}/bin/hyprctl";
hyprlock = "${ hyprlock = "${
config.home-manager.users.${config.custom.username}.programs.hyprlock.package config.home-manager.users.${config.custom.username}.programs.hyprlock.package
}/bin/hyprlock"; }/bin/hyprlock";

View file

@ -6,9 +6,7 @@
}: }:
with lib; let with lib; let
chayang = "${pkgs.chayang}/bin/chayang"; chayang = "${pkgs.chayang}/bin/chayang";
hyprctl = "${ hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
config.home-manager.users.${config.custom.username}.wayland.windowManager.hyprland.package
}/bin/hyprctl";
loginctl = "${pkgs.systemd}/bin/loginctl"; loginctl = "${pkgs.systemd}/bin/loginctl";
pgrep = "${pkgs.procps}/bin/pgrep"; pgrep = "${pkgs.procps}/bin/pgrep";
swaylock = "${ swaylock = "${