-
Notifications
You must be signed in to change notification settings - Fork 0
/
sysvars.nix
executable file
·38 lines (37 loc) · 1.03 KB
/
sysvars.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ config
, pkgs
, user
, ...
}: {
environment.sessionVariables = rec {
# GDK_DPI_SCALE= "0.5";
# GDK_BACKEND = "wayland";
# CLUTTER_BACKEND = "wayland";
# SDL_VIDEODRIVER = "wayland";
# QT_QPA_PLATFORM = "wayland";
# QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
# _JAVA_AWT_WM_NONREPARENTING = "1";
# _JAVA_OPTIONS = "-Dawt.useSystemAAFontSettings=on";
# STEAM_FORCE_DESKTOPUI_SCALING = "2.0";
SDL_IM_MODULE = "fcitx";
NEOVIDE_MULTIGRID = "1";
NEOVIDE_WM_CLASS = "1";
EDITOR = "hx";
WLR_RENDERER = "vulkan";
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
NODE_PATH = "~/.npm-packages/lib/node_modules";
PATH = [
"\${XDG_BIN_HOME}"
"/home/${user}/.npm-packages/bin"
"/home/frnks/opt/riscv/bin"
"/home/frnks/opt/riscv/riscv64-unknown-elf/bin"
"/home/frnks/Security/CTFTools/bin"
];
};
environment.shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
'';
}