summaryrefslogtreecommitdiff
path: root/home-manager/modules/apps/desktop/hyprland.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-03-29 23:37:55 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-03-29 23:37:55 +0100
commitb270d32457c2a4f499a17efebac508bac401924b (patch)
tree827731ea14f5ca53920f1b081f9b4d2901a68f19 /home-manager/modules/apps/desktop/hyprland.nix
parent0807c93d8348b2f537bdbe16886af3e51eb9a90a (diff)
wayland fixes
Diffstat (limited to 'home-manager/modules/apps/desktop/hyprland.nix')
-rw-r--r--home-manager/modules/apps/desktop/hyprland.nix30
1 files changed, 28 insertions, 2 deletions
diff --git a/home-manager/modules/apps/desktop/hyprland.nix b/home-manager/modules/apps/desktop/hyprland.nix
index 5142f40..c2a794e 100644
--- a/home-manager/modules/apps/desktop/hyprland.nix
+++ b/home-manager/modules/apps/desktop/hyprland.nix
@@ -1,5 +1,31 @@
-{cfg, lib, ...}:
+{cfg, lib, pkgs, ...}:
+with lib;
{
+
+
+ home.packages = with pkgs; [
+ mako
+ wofi
+ hyprshot
+ networkmanagerapplet
+ xdg-desktop-portal-gnome
+ xdg-desktop-portal-hyprland
+ wl-clipboard
+ ];
+
+ # TODO: Place environment variables in ./config/uwsm
+ home.file.".config/uwsm/env-hyprland".text = ''
+ export XDG_SESSION_TYPE=wayland
+ export GDK_BACKEND=wayland
+ export GTK_USE_PORTAL=1
+ export QT_QPA_PLATFORM=wayland;xcb
+ export QT_STYLE_OVERRIDE=kvantum
+ export QT_QPA_PLATFORM_THEME=kvantum
+ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+ export QT_AUTO_SCREEN_SCALE_FACTOR=1
+ export MOZ_ENABLE_WAYLAND=1
+ '';
+
# Hyprland
wayland.windowManager.hyprland = {
systemd.enable = false;
@@ -104,7 +130,7 @@
# Programs
"$terminal" = "kitty";
- "$fileManager" = "pcmanfm";
+ "$fileManager" = "thunar";
"$menu" = "wofi --show run";
"$screenshot" = "hyprshot -m region -f screenshots/screenshot_$(date +'%d-%m-%y_%H-%M-%S').png";