From 62992771505b80e9b8b8e177d7690fadacf7e216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chl=C3=B3e=20Kassandra=20Rei=C3=9F?= Date: Sun, 26 Jul 2026 12:19:20 +0200 Subject: [PATCH] Update flake --- flake.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/flake.nix b/flake.nix index 45545b2..61c69cd 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,20 @@ waybar networkmanagerapplet blueman + + # aus deiner Home-Manager-Konfiguration + wofi + grim + swaynotificationcenter + swaylock + hyprpaper + lxsession + hyprshot + wayvnc + pamixer + pavucontrol + brightnessctl + python313Packages.requests ]; runtimePath = pkgs.lib.makeBinPath runtimePackages; @@ -36,6 +50,14 @@ export PATH=${runtimePath}:$PATH exec ${hypr}/bin/Hyprland --config ${configFile} ''; + + startHyprlandScript = pkgs.writeShellScript "start-hyprland" '' + export PATH=${runtimePath}:$PATH + + export XDG_CONFIG_HOME=${configDir} + + exec ${hypr}/bin/start-hyprland --config ${configFile} + ''; in { apps.${system} = { @@ -48,6 +70,11 @@ type = "app"; program = "${runScript}"; }; + + start-hyprland = { + type = "app"; + program = "${startHyprlandScript}"; + }; }; packages.${system}.default = pkgs.runCommand "hyprland-config-check" { } ''