Update flake
This commit is contained in:
@@ -23,6 +23,20 @@
|
|||||||
waybar
|
waybar
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
blueman
|
blueman
|
||||||
|
|
||||||
|
# aus deiner Home-Manager-Konfiguration
|
||||||
|
wofi
|
||||||
|
grim
|
||||||
|
swaynotificationcenter
|
||||||
|
swaylock
|
||||||
|
hyprpaper
|
||||||
|
lxsession
|
||||||
|
hyprshot
|
||||||
|
wayvnc
|
||||||
|
pamixer
|
||||||
|
pavucontrol
|
||||||
|
brightnessctl
|
||||||
|
python313Packages.requests
|
||||||
];
|
];
|
||||||
|
|
||||||
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
||||||
@@ -36,6 +50,14 @@
|
|||||||
export PATH=${runtimePath}:$PATH
|
export PATH=${runtimePath}:$PATH
|
||||||
exec ${hypr}/bin/Hyprland --config ${configFile}
|
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
|
in
|
||||||
{
|
{
|
||||||
apps.${system} = {
|
apps.${system} = {
|
||||||
@@ -48,6 +70,11 @@
|
|||||||
type = "app";
|
type = "app";
|
||||||
program = "${runScript}";
|
program = "${runScript}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
start-hyprland = {
|
||||||
|
type = "app";
|
||||||
|
program = "${startHyprlandScript}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages.${system}.default = pkgs.runCommand "hyprland-config-check" { } ''
|
packages.${system}.default = pkgs.runCommand "hyprland-config-check" { } ''
|
||||||
|
|||||||
Reference in New Issue
Block a user