about summary refs log tree commit diff
path: root/nixos/.profile
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-10 15:34:49 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-10 15:34:49 +0700
commit7744ecfaacc668d75ac0d4d458d95e7d549a826f (patch)
treed833a128037f5a1807c417d86d92d6bc95987a62 /nixos/.profile
parent9ec5278c3faffaf8b861cb89b89ec344a88471d9 (diff)
downloaddotfiles-7744ecfaacc668d75ac0d4d458d95e7d549a826f.tar.gz
Set up NixOS
Diffstat (limited to 'nixos/.profile')
-rw-r--r--nixos/.profile23
1 files changed, 23 insertions, 0 deletions
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