do things
This commit is contained in:
parent
0dc849ff14
commit
5c08802127
14 changed files with 503 additions and 457 deletions
|
|
@ -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];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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; [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue