mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 05:02:28 +00:00
Export LANG in home.nix (#12)
This commit is contained in:
@@ -1,20 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
home.username = "dgallant";
|
home.username = "dgallant";
|
||||||
home.homeDirectory = "/home/dgallant";
|
home.homeDirectory = "/home/dgallant";
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
LANG = "en_US.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
|
||||||
# configuration is compatible with. This helps avoid breakage
|
|
||||||
# when a new Home Manager release introduces backwards
|
|
||||||
# incompatible changes.
|
|
||||||
home.stateVersion = "20.09";
|
home.stateVersion = "20.09";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
@@ -40,6 +30,7 @@
|
|||||||
python38
|
python38
|
||||||
rfd
|
rfd
|
||||||
ripgrep
|
ripgrep
|
||||||
|
rtv
|
||||||
rustup
|
rustup
|
||||||
shellcheck
|
shellcheck
|
||||||
shfmt
|
shfmt
|
||||||
@@ -73,8 +64,10 @@
|
|||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
export EDITOR='neovim'
|
export EDITOR='neovim'
|
||||||
export GPG_TTY=$(tty)
|
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
export LANG="en_US.UTF-8";
|
||||||
|
export LC_ALL="C";
|
||||||
export PATH=$PATH:~/.local/bin
|
export PATH=$PATH:~/.local/bin
|
||||||
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
|
Reference in New Issue
Block a user