diff options
| author | Fuwn <[email protected]> | 2024-10-30 22:35:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-30 22:35:19 -0700 |
| commit | 20a85bacc2f8c22c1c0f338c5a8872d29b432935 (patch) | |
| tree | e9a6b87b8be628f163b040d035410cc5cdeb23c0 /home/ebisu/core/system/variables/settings.nix | |
| parent | core: move variables to core from kansai (diff) | |
| download | nixos-config-20a85bacc2f8c22c1c0f338c5a8872d29b432935.tar.xz nixos-config-20a85bacc2f8c22c1c0f338c5a8872d29b432935.zip | |
core: move variables to modules
Diffstat (limited to 'home/ebisu/core/system/variables/settings.nix')
| -rw-r--r-- | home/ebisu/core/system/variables/settings.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/home/ebisu/core/system/variables/settings.nix b/home/ebisu/core/system/variables/settings.nix new file mode 100644 index 0000000..e3b5eb0 --- /dev/null +++ b/home/ebisu/core/system/variables/settings.nix @@ -0,0 +1,23 @@ +{ config, ... }: +{ + home.sessionVariables = { + FZF_DEFAULT_OPTS = "--layout=reverse --height 40%"; + QT_QPA_PLATFORMTHEME = "gtk2"; + MOZ_USE_XINPUT2 = "1"; + AWT_TOOLKIT = "MToolkit wmname LG3D"; + _JAVA_AWT_WM_NONREPARENTING = 1; + OPENAI_API_KEY = "$(cat ${config.sops.secrets.openai_api_key.path})"; + NNN_FIFO = "/tmp/nnn.fifo"; + _Z_DATA = "${config.xdg.dataHome}/z"; + W3M_DIR = "${config.xdg.dataHome}/w3m"; + VMODULES = "${config.xdg.dataHome}/vmodules"; + TEXMFVAR = "${config.xdg.cacheHome}/texlive/texmf-var"; + BUNDLE_USER_CONFIG = "${config.xdg.configHome}/bundle"; + BUNDLE_USER_CACHE = "${config.xdg.cacheHome}/bundle"; + BUNDLE_USER_PLUGIN = "${config.xdg.dataHome}/bundle"; + PSQL_HISTORY = "${config.xdg.dataHome}/psql_history"; + PKG_CACHE_PATH = "${config.xdg.cacheHome}/pkg-cache"; + SUZURI_TOKEN = "$(cat ${config.sops.secrets.suzuri_token.path})"; + FILTER_BRANCH_SQUELCH_WARNING = 1; + }; +} |