25 lines
453 B
Nix
25 lines
453 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
home.file = {
|
|
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
|
|
};
|
|
|
|
home.packages = [
|
|
pkgs.egl-wayland # For NVIDIA compatibility
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
];
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
extraConfig = builtins.readFile ./hyprland.conf;
|
|
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
|
|
};
|
|
|
|
# bar is required
|
|
imports = [
|
|
../../bar
|
|
];
|
|
}
|