2024-09-16 14:59:29 +02:00
|
|
|
{
|
2024-09-20 16:01:22 +02:00
|
|
|
inputs,
|
2024-09-16 14:59:29 +02:00
|
|
|
pkgs,
|
|
|
|
...
|
2024-09-20 16:01:22 +02:00
|
|
|
}: {
|
2024-09-16 14:59:29 +02:00
|
|
|
home.file = {
|
|
|
|
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
|
2024-09-20 18:28:58 +02:00
|
|
|
# Hyprland launch wrapper
|
|
|
|
".local/bin/Hyprland" = {
|
|
|
|
source = ../../bin/Hyprland;
|
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-16 14:59:29 +02:00
|
|
|
};
|
2024-09-19 12:57:44 +02:00
|
|
|
|
|
|
|
home.packages = [
|
|
|
|
pkgs.egl-wayland # For NVIDIA compatibility
|
2024-09-20 17:54:07 +02:00
|
|
|
pkgs.xdg-desktop-portal-hyprland
|
2024-09-19 12:57:44 +02:00
|
|
|
];
|
2024-09-20 16:01:22 +02:00
|
|
|
|
2024-09-16 14:59:29 +02:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = builtins.readFile ./hyprland.conf;
|
2024-09-20 16:01:22 +02:00
|
|
|
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
|
2024-09-16 14:59:29 +02:00
|
|
|
};
|
2024-09-18 14:55:52 +02:00
|
|
|
|
|
|
|
# bar is required
|
2024-09-18 15:00:31 +02:00
|
|
|
imports = [
|
2024-09-18 14:55:52 +02:00
|
|
|
../../bar
|
2024-09-18 15:00:31 +02:00
|
|
|
];
|
2024-09-16 14:59:29 +02:00
|
|
|
}
|