move hypr

This commit is contained in:
cnst
2024-07-02 16:50:52 +02:00
parent ffb53bf615
commit 661e03b4f4
10 changed files with 57 additions and 43 deletions

View File

@@ -3,5 +3,23 @@
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
extraConfig = ''
${builtins.readFile ./hyprland.conf}
'';
systemd = {
enable = true;
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
AMD_VULKAN_ICD = "RADV";
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
}