Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indy2222/dotfiles
My personal setup
https://github.com/indy2222/dotfiles
config configs configuration dotfiles emacs emacs-conf emacs-configuration git-configuration mutt neomutt offlineimap oh-my-zsh tmux tmux-conf tmux-configs tmux-configuration zsh zsh-configs zsh-configuration zshell
Last synced: about 1 month ago
JSON representation
My personal setup
- Host: GitHub
- URL: https://github.com/indy2222/dotfiles
- Owner: Indy2222
- License: gpl-3.0
- Created: 2017-05-15T20:54:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T12:29:09.000Z (3 months ago)
- Last Synced: 2024-10-12T02:02:01.203Z (about 1 month ago)
- Topics: config, configs, configuration, dotfiles, emacs, emacs-conf, emacs-configuration, git-configuration, mutt, neomutt, offlineimap, oh-my-zsh, tmux, tmux-conf, tmux-configs, tmux-configuration, zsh, zsh-configs, zsh-configuration, zshell
- Language: Emacs Lisp
- Size: 509 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Post Installation Setup
=======================Peform the following steps after bare
[installation](https://wiki.archlinux.org/index.php/installation_guide)
of Arch Linux.Network
-------```bash
systemctl enable --now systemd-networkd
systemctl enable --now systemd-resolved
# To make non GNU-libc applications (like kubectl written in Golang) work.
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
```Modify `/etc/systemd/network/20-wired.network` to:
```
[Match]
Name=ETHERNET_DEVICE[Network]
DHCP=ipv4[DHCP]
RouteMetric=10
```To setup Wi-fi:
```bash
pacman -S iwd
systemctl enable --now iwd
```Modify `/etc/systemd/network/25-wireless.network` to:
```
[Match]
Name=WIFI_DEVICE[Network]
DHCP=ipv4[DHCP]
RouteMetric=20
```Modify `/etc/iwd/main.conf` to:
```
[General]
dns_resolve_method=systemd
```Use `iwctl` to connect to a Wi-fi network.
For `eduroam` create file `/var/lib/iwd/eduroam.8021x` with the following
content (don't forget to replace the password). Set permissions to `600` to the
file.```
[Security]
EAP-Method=PEAP
[email protected]
EAP-PEAP-CACert=/etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem
EAP-PEAP-Phase2-Method=MSCHAPV2
[email protected]
EAP-PEAP-Phase2-Password=[Settings]
Autoconnect=true
```Use Avahi for zero-configuration network (service discovery, mDNS, etc.):
```bash
pacman -S avahi nss-mdns
systemctl enable --now avahi-daemon
```Add `mdns_minimal [NOTFOUND=return]` to `hosts` in `/etc/nsswitch.conf` before
`resolve` and `dns`. See https://wiki.archlinux.org/index.php/AvahiNTP
---```bash
systemctl enable --now systemd-timesyncd
```Create User
-----------```bash
useradd indy
passwd indy
mkdir /home/indy
chown -R indy:indy /home/indy
```Configure access to network administration:
```
sudo groupadd netdev
sudo usermod -aG netdev indy
```Setup sudo
----------```bash
pacman -S sudo
groupadd sudo
usermod -aG sudo indy
```Add or uncomment this line `%sudo ALL=(ALL:ALL) ALL` in `/etc/sudoers`.
Install KDE
-----------```bash
pacman -S xf86-video-intel
pacman -S sddm plasma-meta
systemctl enable sddm
```Setup Under My User
===================All of the following commands work if executed under my user.
AUR Wrapper
-----------Install [Paru](https://github.com/Morganamilo/paru).
Useful Software
---------------Development:
```bash
sudo pacman -S man-db
```Other:
```bash
# Note that gcc is needed for Emacs to work properly. See
# https://wiki.archlinux.org/index.php/Emacs#Emacs_fails_to_start_with_the_error_message_'Undefined_color:_%22WINDOW_FOREGROUND%22'
sudo pacman -S firefox konsole xclip gcc htop jq ripgrep ktorrent dolphin \
okular vlc spectacle rsync make python-sphinx ark korganizer wget exa \
unzip gzip kuickshow mdbook
```SSH
---```bash
sudo pacman -S openssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh-add ~/.ssh/id_rsa
```Add the SSH key to GitHub and GitLab.
Git
---```bash
sudo pacman -S git git-lfs git-crypt
```Pass
----```bash
sudo pacman -S pass
git clone [email protected]:Indy2222/pass.git ~/.password-store
```Dotfiles
--------Clone this repository:
```bash
git clone [email protected]:Indy2222/dotfiles ~/dotfiles
```Git Config
----------```bash
ln -s ~/dotfiles/git/config ~/.gitconfig
ln -s ~/dotfiles/git/gitignore ~/.gitignore_global
```GPG
---```bash
ln -s ~/dotfiles/gpg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
killall gpg-agent
# private.txt is placed on a secret device
gpg --import --armor private.txt
```Fonts
-----```bash
sudo pacman -S ttf-jetbrains-mono extra/noto-fonts-emoji
```ZSH
---```bash
sudo pacman -S zsh eza atuin
sudo paru -S zoxide
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
rm ~/.zshrc
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/dotfiles/zsh ~/zsh
```Theme:
```bash
ln -s ~/dotfiles/zsh/minimal.zsh-theme ~/.oh-my-zsh/custom/themes/
```Plugins:
```bash
cd ~/.oh-my-zsh/custom/plugins
# syntax highlighting
git clone https://github.com/zdharma/fast-syntax-highlighting.git
```Atuin:
```bash
ln -sf ~/dotfiles/zsh/atuin.toml ~/.config/atuin/config.toml
```Change shell for `indy`:
```bash
chsh indy
```Tmux
----```bash
sudo pacman -S tmux
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
```Terminal
--------```bash
sudo pacman -S alacritty
mkdir ~/.config/alacritty
ln -s ~/dotfiles/alacritty.toml ~/.config/alacritty/alacritty.toml
```Bat
---```bash
sudo pacman -S bat
mkdir ~/.config/bat
ln -s ~/dotfiles/bat.conf ~/.config/bat/config
```Emacs
-----```bash
sudo pacman -S emacs aspell aspell-en aspell-cs aspell-it
mkdir ~/.emacs.d
mkdir ~/notes
ln -s ~/dotfiles/emacs/early-init.el ~/.emacs.d/early-init.el
ln -s ~/dotfiles/emacs/init.el ~/.emacs.d/init.el
systemctl --user enable --now emacs
```Firefox
--------------------------```bash
sudo pacman -S firefox
```Install https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/
```bash
sudo pacman -S plasma-browser-integration
```Rust
----```bash
sudo pacman -S rustup pandoc fd
rustup toolchain install stable-x86_64-unknown-linux-gnu
rustup toolchain install nightly-x86_64-unknown-linux-gnu
rustup component add rust-analyzer
```Python
------```bash
sudo pacman -S pyenv python-poetry
```.NET
----```bash
sudo pacman -S dotnet-sdk
```Docker
------```bash
sudo pacman -S docker
sudo usermod -G docker indy
systemctl enable --now docker
```Kubernetes
----------```bash
sudo pacman -S kubectl
```Google Cloud SDK
----------------Follow instructions from https://cloud.google.com/sdk/docs/quickstart-linux.
Microsoft Azure
---------------Follow instruction from
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latestTeX
---```bash
sudo pacman -S texlive-most
```Tor
---```bash
sudo pacman -S tor
systemctl enable --now tor
```In Preferences > General > Network Settings > Settings…, select Manual proxy
configuration and enter SOCKS host localhost with port 9050 (SOCKS v5). To
channel all DNS requests through TOR's socks proxy, also select Proxy DNS when
using SOCKS v5.Printing
--------```bash
sudo pacman -S cups
systemctl enable --now cups.socket
sudo usermod -a -G sys indy
```Bluetooth
---------```bash
sudo pacman -S bluez bluez-utils pipewire-pulse
systemctl enable --now bluetooth.service
```More Network
------------```bash
sudo pacman -S vnstat
systemctl enable --now vnstat
```MEGA
----Install [MEGA Desktop App](https://mega.io/desktop) and configure syncing of
appropriate directories.