From 7744ecfaacc668d75ac0d4d458d95e7d549a826f Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 10 Jun 2021 15:34:49 +0700 Subject: Set up NixOS --- nixos/.profile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nixos/.profile (limited to 'nixos/.profile') diff --git a/nixos/.profile b/nixos/.profile new file mode 100644 index 0000000..9de9eb7 --- /dev/null +++ b/nixos/.profile @@ -0,0 +1,23 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +export PATH="$HOME/.local/bin:$PATH" +export MANPATH="$HOME/.local/share/man:$MANPATH" +export XMODIFIERS=@im=ibus +export QT_IM_MODULE=ibus +export QT_QPA_PLATFORMTHEME=qt5ct + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi -- cgit 1.4.1