2024-10-11 23:27:07 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
# Default text editor.
|
|
|
|
EDITOR = "nvim";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# App to use for man pages.
|
|
|
|
MANPAGER = "nvim +Man!";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Allow unfree packages in shell.
|
|
|
|
NIXPKGS_ALLOW_UNFREE = "1";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Current system architecture.
|
|
|
|
NIX_CURRENT_SYSTEM = "${pkgs.stdenv.system}";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Enable Mangohud by default.
|
|
|
|
MANGOHUD = "1";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Use fsync for Wine.
|
|
|
|
WINEFSYNC = "1";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Disable Firefox profile switching on rebuild.
|
|
|
|
MOZ_LEGACY_PROFILES = "1";
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# GTK apps compat.
|
|
|
|
GTK_CSD = 0;
|
2024-06-30 03:56:48 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Terminal settings.
|
|
|
|
TERM = "xterm-256color";
|
2024-06-30 03:56:48 +03:00
|
|
|
}
|