2025-03-25 01:59:21 +01:00
|
|
|
{ inputs, pkgs, ...}:
|
2025-03-24 12:11:44 +01:00
|
|
|
|
2025-03-24 23:01:13 +01:00
|
|
|
{
|
2025-03-24 23:15:10 +01:00
|
|
|
programs.kitty.enable = true;
|
2025-03-25 01:59:21 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
2025-03-25 02:13:48 +01:00
|
|
|
inherit package;
|
2025-03-25 01:59:21 +01:00
|
|
|
enable = true;
|
|
|
|
systemd.variables = [ "--all" ];
|
|
|
|
plugins = [
|
2025-03-25 02:13:48 +01:00
|
|
|
#inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
|
2025-03-25 01:59:21 +01:00
|
|
|
];
|
|
|
|
};
|
2025-03-24 23:15:10 +01:00
|
|
|
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
2025-03-24 23:01:13 +01:00
|
|
|
|
2025-03-24 23:15:10 +01:00
|
|
|
wayland.windowManager.hyprland.settings = {
|
2025-03-25 02:13:48 +01:00
|
|
|
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;
|
2025-03-24 23:15:10 +01:00
|
|
|
};
|
2025-03-24 12:11:44 +01:00
|
|
|
}
|