feat(hypr -> nix): Link Hyprland launch script to local bin with HM

This commit is contained in:
GaspardCulis 2024-09-20 18:28:58 +02:00
parent 955c5bb579
commit 0d94597777
2 changed files with 6 additions and 1 deletions

View file

@ -9,6 +9,6 @@ export XDG_CONFIG_HOME="${HOME}/.config"
# Execution # Execution
exec ssh-agent \ exec ssh-agent \
dbus-launch --exit-with-session \ dbus-launch --exit-with-session \
/usr/bin/Hyprland \ hyprland \
"$@" "$@"

View file

@ -5,6 +5,11 @@
}: { }: {
home.file = { home.file = {
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d; ".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
# Hyprland launch wrapper
".local/bin/Hyprland" = {
source = ../../bin/Hyprland;
executable = true;
};
}; };
home.packages = [ home.packages = [