diff options
author | sils <sils@sils.li> | 2023-01-08 19:30:04 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-08 19:30:04 +0100 |
commit | e70b7da28c7590a594ab209e959a5bc135e61811 (patch) | |
tree | 26eb976e5b08f0e27c0efb785c3647e49d177d82 /env.nix | |
parent | switch away from temp-root (diff) | |
download | nix-config-e70b7da28c7590a594ab209e959a5bc135e61811.tar.gz nix-config-e70b7da28c7590a594ab209e959a5bc135e61811.zip |
introduce alejandra
Diffstat (limited to '')
-rw-r--r-- | env.nix | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/env.nix b/env.nix index 11a1b0d..b0ebd72 100644 --- a/env.nix +++ b/env.nix @@ -1,27 +1,29 @@ -{ config, pkgs, ... }: - { + config, + pkgs, + ... +}: { environment.sessionVariables = rec { - XDG_CACHE_HOME = "\${HOME}/.cache"; - XDG_CONFIG_HOME = "\${HOME}/.config"; - XDG_BIN_HOME = "\${HOME}/.local/bin"; - XDG_DATA_HOME = "\${HOME}/.local/share"; - XDG_STATE_HOME = "\${HOME}/.local/state"; - ZDOTDIR = "\${HOME}/.config/zsh"; - CARGO_HOME = "\${HOME}/.local/share/cargo"; - ANDROID_HOME = "\${HOME}/.local/share/android"; - ANSIBLE_HOME = "\${HOME}/.local/share/ansible"; + XDG_CACHE_HOME = "\${HOME}/.cache"; + XDG_CONFIG_HOME = "\${HOME}/.config"; + XDG_BIN_HOME = "\${HOME}/.local/bin"; + XDG_DATA_HOME = "\${HOME}/.local/share"; + XDG_STATE_HOME = "\${HOME}/.local/state"; + ZDOTDIR = "\${HOME}/.config/zsh"; + CARGO_HOME = "\${HOME}/.local/share/cargo"; + ANDROID_HOME = "\${HOME}/.local/share/android"; + ANSIBLE_HOME = "\${HOME}/.local/share/ansible"; #_JAVA_OPTIONS = '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"'; - WINEPREFIX = "\${HOME}/.local/share/wine"; - GNUPGHOME = "\${HOME}/.local/share/gnupg"; - GRADLE_USER_HOME = "\${HOME}/.local/share/gradle"; - GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc"; - EDITOR = "nvim"; - GOPATH = "\${HOME}/.local/share/go"; - XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose"; + WINEPREFIX = "\${HOME}/.local/share/wine"; + GNUPGHOME = "\${HOME}/.local/share/gnupg"; + GRADLE_USER_HOME = "\${HOME}/.local/share/gradle"; + GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc"; + EDITOR = "nvim"; + GOPATH = "\${HOME}/.local/share/go"; + XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose"; #PYTHONSTARTUP="/etc/python/pythonrc"; - PATH = [ + PATH = [ "\${XDG_BIN_HOME}" ]; }; |