Compare commits

...

13 Commits

Author SHA1 Message Date
Raghav Gururajan 7e2fc1f8f4
bash: Remove shepherd-user-services. 2021-12-30 20:56:45 -05:00
Raghav Gururajan c8079dcee7
bash: Remove activation of guix-extra-profiles. 2021-12-30 20:56:45 -05:00
Raghav Gururajan 4d9b8c7096
Remove sway. 2021-12-30 20:56:45 -05:00
Raghav Gururajan 6b6b2f5826
Add poezio. 2021-12-30 20:56:45 -05:00
Raghav Gururajan 278e1e908c
Add emacs. 2021-12-30 20:56:42 -05:00
Raghav Gururajan 2346106651
Add nano. 2021-12-30 20:54:06 -05:00
Raghav Gururajan 38e8fccd25
Add gtk. 2021-12-30 20:54:03 -05:00
Raghav Gururajan fc32ddde00
Add git. 2021-12-30 20:52:55 -05:00
Raghav Gururajan 4c2ede234b
Add gnupg. 2021-12-30 20:52:55 -05:00
Raghav Gururajan 3f074dcb4b
Add termite. 2021-12-30 20:52:52 -05:00
Raghav Gururajan 32020f25d5
Add sway. 2021-12-30 20:48:26 -05:00
Raghav Gururajan 54a8049ee2
Add weston. 2021-12-30 20:48:23 -05:00
Raghav Gururajan e34766b75f
Add stumpwm. 2021-12-30 20:43:37 -05:00
19 changed files with 185 additions and 27 deletions

View File

@ -1,25 +1,3 @@
# Activate Guix extra profiles.
for i in ~/.guix-extra-profiles/*; do
profile=$i/$(basename "$i")
if [ -f "$profile"/etc/profile ]; then
GUIX_PROFILE="$profile"
source "$profile"/etc/profile
fi
if [ -d "$profile"/etc/xdg ]; then
export XDG_CONFIG_DIRS="$profile"/etc/xdg:$XDG_CONFIG_DIRS
fi
if [ -d "$profile"/share ]; then
export XDG_DATA_DIRS="$profile"/share:$XDG_DATA_DIRS
fi
if [ -d "$profile"/share/man ]; then
export MANPATH="$profile"/share/man:$MANPATH
fi
if [ -d "$profile"/share/info ]; then
export INFOPATH="$profile"/share/info:$INFOPATH
fi
unset profile
done
# Activate Nix profile.
if [ -f /run/current-system/profile/etc/profile.d/nix.sh ]; then
source /run/current-system/profile/etc/profile.d/nix.sh
@ -70,11 +48,6 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
# Start Shepherd-User-Services.
if [[ ! -S ${XDG_RUNTIME_DIR-HOME/.cache}/shepherd/socket ]]; then
shepherd
fi
# Start X display server.
if [ -z $DISPLAY ] && [ "${XDG_VTNR}" -eq 2 ]; then
exec xinit

18
emacs/init.el Normal file
View File

@ -0,0 +1,18 @@
;; Coding System
(prefer-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(set-file-name-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-next-selection-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
;; Font
(set-fontset-font "fontset-default" 'unicode "Noto Sans Mono")
(set-fontset-font "fontset-startup" 'unicode "Noto Sans Mono")
(set-fontset-font "fontset-default" 'symbol "Noto Color Emoji")
(set-fontset-font "fontset-startup" 'symbol "Noto Color Emoji")
;; Language
(set-language-environment "UTF-8")

19
git/config Normal file
View File

@ -0,0 +1,19 @@
[user]
name = Raghav Gururajan
email = rg@raghavgururajan.name
signingkey = 7F8BE551
[default]
editor = nano
[core]
editor = nano
[commit]
gpgsign = true
[sendemail]
smtpserver = smtp.migadu.com
smtpuser = rg@raghavgururajan.name
smtpencryption = ssl
smtpserverport = 465
assume8bitEncoding = UTF-8
[credential]
helper = cache --timeout 31536000

6
gnupg/dirmngr.conf Normal file
View File

@ -0,0 +1,6 @@
# Route all network access via Tor.
use-tor
# Specify keyserver to receive keys, send keys, and search for keys.
keyserver hkps://keys.openpgp.org

5
gnupg/gpa.conf Normal file
View File

@ -0,0 +1,5 @@
default-key 7F8BE551
backup-generated
advanced-ui
show-advanced-options

14
gnupg/gpg-agent.conf Normal file
View File

@ -0,0 +1,14 @@
# Set the time a cache entry is valid to 1 day.
default-cache-ttl 86400
default-cache-ttl-ssh 86400
# Set the maximum time a cache entry is valid to 1 day.
max-cache-ttl 86400
max-cache-ttl-ssh 86400
# Specify pinentry program.
pinentry-program /home/rg/.guix-home/profile/bin/pinentry
# Enable OpenSSH agent emulation.
enable-ssh-support

21
gnupg/gpg.conf Normal file
View File

@ -0,0 +1,21 @@
# Specify the default key to sign with.
default-key 7F8BE551
# Assume that command line arguments are given as UTF-8 strings.
utf8-strings
# Automatically locate and retrieve keys.
auto-key-locate keyserver,local
# Set the list of personal cipher preferences.
personal-cipher-preferences AES256
# Set the list of personal digest preferences.
personal-digest-preferences SHA512
# Set the list of personal compression preferences.
personal-compress-preferences ZLIB
# Set the digest for force-use.
digest-algo sha512

3
gnupg/scdaemon.conf Normal file
View File

@ -0,0 +1,3 @@
# Use shared mode to access the card via PC/SC.
pcsc-shared

6
gnupg/sshcontrol Normal file
View File

@ -0,0 +1,6 @@
# openpgp:0x7F8BE551
7410BE15F4A43508B43F6F94EDC713ECBDEAEBC0
# rg@secondary
28955BA9E8853437C51EBC9F82AE96C8D87EB59B

3
gtk/gtkrc-2.0 Normal file
View File

@ -0,0 +1,3 @@
gtk-font-name = Noto Sans 10
gtk-print-backends = file,cups

6
gtk/settings.ini Normal file
View File

@ -0,0 +1,6 @@
[Settings]
gtk-application-prefer-dark-theme = true
gtk-font-name = Noto Sans 10
gtk-icon-theme-name = hicolor
gtk-print-backends = file,cups

6
nano/nanorc Normal file
View File

@ -0,0 +1,6 @@
# Display the cursor position.
set constantshow
# Set spelling program.
set speller "aspell -x -c"

4
poezio/plugins/irc.cfg Normal file
View File

@ -0,0 +1,4 @@
[irc]
gateway = irc.cheogram.com
initial_connect = false

3
poezio/plugins/link.cfg Normal file
View File

@ -0,0 +1,3 @@
[link]
browser = icecat

3
poezio/plugins/otr.cfg Normal file
View File

@ -0,0 +1,3 @@
[otr]
log = true

29
poezio/poezio.cfg Normal file
View File

@ -0,0 +1,29 @@
[Poezio]
device_id = secondary
# Security
ca_cert_path = /etc/ssl/certs/ca-certificates.crt
certificate = A8:32:69:79:8F:53:DB:D6:93:2F:FD:90:B5:08:B1:8D:E2:D8:7A:6F:82:6C:FB:6A:3D:DE:6D:34:89:3D:26:C7
# Account
default_nick = raghavgururajan
jid = rg@raghavgururajan.name
open_all_bookmarks = true
# Connectivity
autorejoin = true
# XMPP Features
enable_smacks = true
use_bookmark_method = pep
# Visual Interface
roster_show_offline = true
roster_sort = name
# User Interaction
separate_history = true
# Plugins
plugins_autoload = irc:link:otr:upload

12
stumpwm/init.lisp Normal file
View File

@ -0,0 +1,12 @@
(in-package :stumpwm)
;; Set prefix to Super+T.
(set-prefix-key (kbd "s-t"))
;; Set font to NotoMono.
(require :ttf-fonts)
(setf xft:*font-dirs* '("/run/current-system/profile/share/fonts/"))
(setf clx-truetype:+font-cache-filename+ (concat (getenv "HOME") "/.fonts/font-cache.sexp"))
(xft:cache-fonts)
(set-font (make-instance 'xft:font :family "Noto Mono" :subfamily "Regular" :size 10))

7
termite/config Normal file
View File

@ -0,0 +1,7 @@
[options]
font = Noto Mono 10
[colors]
foreground = #ffffff
background = #000000

20
weston/weston.ini Normal file
View File

@ -0,0 +1,20 @@
[core]
shell=desktop-shell.so
xwayland=true
modules=cms-colord.so
backend=drm-backend.so
[libinput]
touchscreen_calibrator=true
[shell]
background-image=${XDG_DATA_DIRS}/weston/background.png
[keyboard]
keymap_layout=us
[terminal]
font=Noto Mono
font-size=10
term=termite