Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
31
users/pedro/home-configuration/hyprland/variables.nix
Normal file
31
users/pedro/home-configuration/hyprland/variables.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{lib, ...}: let
|
||||
variables = {
|
||||
NIXOS_OZONE_WL = 1;
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
__GL_GSYNC_ALLOWED = 0;
|
||||
__GL_VRR_ALLOWED = 0;
|
||||
_JAVA_AWT_WM_NONEREPARENTING = 1;
|
||||
DISABLE_QT5_COMPAT = 0;
|
||||
GDK_BACKEND = "wayland,x11,*";
|
||||
ANKI_WAYLAND = 1;
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
WLR_DRM_NO_ATOMIC = 1;
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
MOZ_USE_XINPUT2 = 1;
|
||||
WLR_BACKEND = "vulkan";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
};
|
||||
in {
|
||||
home.sessionVariables = variables;
|
||||
|
||||
xdg.configFile."uwsm/env".text = builtins.concatStringsSep "\n" (
|
||||
lib.attrsets.mapAttrsToList (
|
||||
name: value: "export ${name}=\"${builtins.toString value}\""
|
||||
)
|
||||
variables
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue