Added various configs to be symlinked
This commit is contained in:
parent
bbcb643d69
commit
e0b138c78a
4
gnupg/gpg-agent.conf
Normal file
4
gnupg/gpg-agent.conf
Normal file
@ -0,0 +1,4 @@
|
||||
default-cache-ttl 300
|
||||
max-cache-ttl 999999
|
||||
|
||||
enable-ssh-support
|
12
gnupg/gpg.conf
Normal file
12
gnupg/gpg.conf
Normal file
@ -0,0 +1,12 @@
|
||||
cert-digest-algo SHA256
|
||||
no-emit-version
|
||||
no-comments
|
||||
personal-cipher-preferences AES AES256 AES192 CAST5
|
||||
personal-digest-preferences SHA256 SHA512 SHA384 SHA224
|
||||
ignore-time-conflict
|
||||
allow-freeform-uid
|
||||
with-fingerprint
|
||||
keyid-format 0xlong
|
||||
keyserver hkps://hkps.pool.sks-keyservers.net
|
||||
#keyserver-options ca-cert-file=/home/electron/.gnupg/sks-keyservers_ca.pem
|
||||
keyserver-options no-honor-keyserver-url
|
12
gnupg/sshcontrol
Normal file
12
gnupg/sshcontrol
Normal file
@ -0,0 +1,12 @@
|
||||
# List of allowed ssh keys. Only keys present in this file are used
|
||||
# in the SSH protocol. The ssh-add tool may add new entries to this
|
||||
# file to enable them; you may also add them manually. Comment
|
||||
# lines, like this one, as well as empty lines are ignored. Lines do
|
||||
# have a certain length limit but this is not serious limitation as
|
||||
# the format of the entries is fixed and checked by gpg-agent. A
|
||||
# non-comment line starts with optional white spaces, followed by the
|
||||
# keygrip of the key given as 40 hex digits, optionally followed by a
|
||||
# caching TTL in seconds, and another optional field for arbitrary
|
||||
# flags. Prepend the keygrip with an '!' mark to disable it.
|
||||
|
||||
468CB012C93D96E3C67F2CBCFB112400050023B6
|
@ -1,13 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install packages which are frequently used by me
|
||||
sudo -i dnf install tmux tree git
|
||||
|
||||
# Checkout my dotfiles and the tmux-plugin-manager
|
||||
if [[ $(command -v dnf) == 0 ]]; then
|
||||
sudo -i dnf install tmux git gnupg2 openssh
|
||||
elif
|
||||
sudo pacman -S tmux git gnupg openssh
|
||||
|
||||
# Set up tmux
|
||||
ln -s ./tmux/tmux.conf ~/.tmux.conf
|
||||
# Get the tmux-plugin-manager
|
||||
mkdir -p ~/.tmux/plugins
|
||||
mkdir -p ~/.dotfiles
|
||||
git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm
|
||||
git clone https://github.com/jreichmann/dotfiles.git ~/.dotfiles
|
||||
|
||||
ln -s ~/.dotfiles/.tmux.conf ~/.tmux.conf
|
||||
# Set up redshift
|
||||
ln -s ./redshift/redshift.conf ~/.config/redshift/redshift.conf
|
||||
|
||||
# Set up gnupg things
|
||||
mkdir -p ~/.gnupg
|
||||
ln -s ./gnupg/gpg.conf ~/.gnupg/gpg.conf
|
||||
ln -s ./gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
|
||||
ln -s ./gnupg/sshcontrol ~/.gnupg/sshcontrol
|
||||
|
||||
|
8
redshift/redshift.conf
Normal file
8
redshift/redshift.conf
Normal file
@ -0,0 +1,8 @@
|
||||
[redshift]
|
||||
location-provider=manual
|
||||
temp-night=2500K
|
||||
|
||||
|
||||
[manual]
|
||||
lat=49.0091
|
||||
lon=8.3799
|
Loading…
Reference in New Issue
Block a user