do things

This commit is contained in:
zack 2025-01-09 13:33:20 -05:00
parent 0dc849ff14
commit 5c08802127
No known key found for this signature in database
GPG key ID: EE8A2B709E2401D1
14 changed files with 503 additions and 457 deletions

View file

@ -26,8 +26,8 @@ in {
extraConfig.pipewire.adjust-sample-rate = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.allowed-rates" = [48000];
"default.clock.rate" = 44100;
"default.allowed-rates" = [44100];
};
};

View file

@ -51,14 +51,14 @@ in {
GBM_BACKEND = "nvidia-drm";
WLR_NO_HARDWARE_CURSORS = "1";
LIBVA_DRIVER_NAME = "nvidia";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
__NV_PRIME_RENDER_OFFLOAD = "1";
__VK_LAYER_NV_optimus = "NVIDIA_only";
# __GLX_VENDOR_LIBRARY_NAME = "nvidia";
# __NV_PRIME_RENDER_OFFLOAD = "1";
# __VK_LAYER_NV_optimus = "NVIDIA_only";
NVD_BACKEND = "direct";
# __GL_GSYNC_ALLOWED = "1";
# __GL_VRR_ALLOWED = "1";
XWAYLAND_NO_GLAMOR = "1";
__GL_MaxFramesAllowed = "1";
# XWAYLAND_NO_GLAMOR = "1";
# __GL_MaxFramesAllowed = "1";
};
environment.systemPackages = with pkgs; [

View file

@ -21,7 +21,7 @@ in {
services = {
greetd = {
enable = true;
enable = false;
settings = rec {
initial_session = {
# command = "sway --unsupported-gpu";
@ -33,7 +33,12 @@ in {
};
};
services.xserver.displayManager.gdm.enable = true;
programs.uwsm.enable = true;
programs.hyprland = {
withUWSM = true;
enable = true;
};
@ -69,15 +74,14 @@ in {
hardware.pulseaudio.support32Bit = true;
# xdg.portal = {
# enable = true;
# wlr.enable = false;
# config.common.default = "*";
# extraPortals = [
# pkgs.xdg-desktop-portal-gtk
# # pkgs.xdg-desktop-portal-wlr
# pkgs.xwaylandvideobridge
# ];
# };
xdg.portal = {
enable = true;
wlr.enable = false;
config.common.default = "*";
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xwaylandvideobridge
];
};
};
}