NixOS, user packages

Try and maintain compatibility with non-NixOS as well - on Tycho, I'll
still be using Ubuntu until I feel like I've gotten the hang of Nix(OS)
on ataraxia and retire it.
old-yadm
earnest ma 2021-08-02 19:43:37 -04:00
parent 147c1e40ff
commit 93527c8f52
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,12 @@ in
home.homeDirectory = "/home/earne";
home.packages = with pkgs; [
# Doom Emacs + dependencies
pkgsUnstable.fd
pkgsUnstable.ripgrep
pkgsUnstable.emacs
alacritty
gitFull
pkgsUnstable.neovim
tmux

View File

@ -11,6 +11,9 @@ export XDG_USER_CONFIG_DIR="$XDG_CONFIG_HOME"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
# NixOS home-manager desktop files "fix"
export XDG_DATA_DIRS="$HOME/.nix-profile/share:$XDG_DATA_DIRS"
export LANG=en_CA.UTF-8
# TZ
@ -51,7 +54,7 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
# export GNUPGHOME="$XDG_DATA_HOME/gnupg" # Causes issues on NixOS
export PATH # just in case

View File

@ -82,5 +82,5 @@ zstyle ':vcs_info:git:*' formats '%F{240}(%b)%r%f'
zstyle ':vcs_info:*' enable git
# This must be placed at the end
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] && source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh