diff --git a/hosts/work/configuration.nix b/hosts/work/configuration.nix index 15dd97c..b2a68d7 100644 --- a/hosts/work/configuration.nix +++ b/hosts/work/configuration.nix @@ -1,6 +1,7 @@ { inputs, modulesPath, + pkgs, ... }: { @@ -39,7 +40,10 @@ initrd.kernelModules = [ "amdgpu" ]; plymouth.enable = true; }; - + programs.obs-studio = { + enable = true; + plugins = [ pkgs.obs-studio-plugins.wlrobs ]; + }; hardware = { sane.enable = true; }; diff --git a/modules/home-manager/services/hyprland.nix b/modules/home-manager/services/hyprland.nix index 0f7a1a1..b3fcc93 100644 --- a/modules/home-manager/services/hyprland.nix +++ b/modules/home-manager/services/hyprland.nix @@ -35,6 +35,9 @@ in "mako &" "nm-applet --indicator &" "$idlehandler" + "dbus-update-activation-environment --systemd --all" # WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" + "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" + ]; # decorations.conf @@ -65,7 +68,7 @@ in "XCURSOR_SIZE,24" "QT_CURSOR_SIZE,24" "XDG_CURRENT_DESKTOP, Hyprland" - "XDG_SESSION_TYPE, Hyprland" + "XDG_SESSION_TYPE, wayland" # Hyprland? "XDG_SESSION_DESKTOP, Hyprland" "GDK_BACKEND, wayland, x11" "CLUTTER_BACKEND, wayland"