nix-config/home/hyprland/default.nix

29 lines
807 B
Nix

{ inputs, pkgs, ...}:
{
programs.kitty.enable = true;
wayland.windowManager.hyprland = {
inherit package;
enable = true;
systemd.variables = [ "--all" ];
plugins = [
#inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
];
};
home.sessionVariables.NIXOS_OZONE_WL = "1";
wayland.windowManager.hyprland.settings = {
env = [
"NIXOS_OZONE_WL,1"
"MOZ_ENABLE_WAYLAND,1"
"MOZ_WEBRENDER,1"
"_JAVA_AWT_WM_NONREPARENTING,1"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"QT_QPA_PLATFORM,wayland"
"SDL_VIDEODRIVER,wayland"
"GDK_BACKEND,wayland"
];
extraConfig = builtins.readFile ./hyprland.conf;
};
}