steam tinkering

This commit is contained in:
cnst
2024-06-29 19:29:43 +02:00
parent e60e04b9de
commit 2f02cf259f
7 changed files with 89 additions and 63 deletions

View File

@@ -3,19 +3,16 @@
config,
pkgs,
...
}:
{
imports = [ ../../extra/mako ];
}: {
imports = [../../extra/mako];
xdg.portal =
let
hyprland = config.wayland.windowManager.hyprland.package;
xdph = pkgs.xdg-desktop-portal-hyprland.override { inherit hyprland; };
in
{
extraPortals = [ xdph ];
configPackages = [ hyprland ];
};
xdg.portal = let
hyprland = config.wayland.windowManager.hyprland.package;
xdph = pkgs.xdg-desktop-portal-hyprland.override {inherit hyprland;};
in {
extraPortals = [xdph];
configPackages = [hyprland];
};
home.packages = with pkgs; [
grimblast
@@ -28,12 +25,11 @@
home.sessionVariables = {
BROWSER = "firefox";
MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = 1;
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
LIBSEAT_BACKEND = "logind";
};
wayland.windowManager.hyprland = {