Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lindhe/dotfiles
These are my dotfiles. Not made with portability in mind, but feel free to take a look if you want to.
https://github.com/lindhe/dotfiles
Last synced: about 2 months ago
JSON representation
These are my dotfiles. Not made with portability in mind, but feel free to take a look if you want to.
- Host: GitHub
- URL: https://github.com/lindhe/dotfiles
- Owner: lindhe
- License: gpl-2.0
- Created: 2015-01-22T21:47:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T17:13:19.000Z (about 2 months ago)
- Last Synced: 2024-11-14T18:20:40.684Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 4.55 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
These are my dotfiles. Not meant to be shared, but feel free to take a look if you want to.
## Subtrees
I'm trying out `git subtree` to bring in dependencies. I know of no way to list
them easily, so I'll try to keep a list of them here:* `.config/i3blocks/contrib` https://github.com/vivien/i3blocks-contrib
## Usage
```shell
git clone https://github.com/lindhe/dotfiles.git ~/git/lindhe/dotfiles
git clone https://github.com/lindhe/scripts.git ~/git/lindhe/scripts
~/git/lindhe/dotfiles/setup.sh
```### Install dependencies
```shell
sudo add-apt-repository ppa:git-core/ppa
sudo add-apt-repository ppa:neovim-ppa/stable
``````shell
sudo apt install \
curl \
neovim tree zsh \
build-essential \
curl \
git git-lfs \
tmux jq unzip shellcheck colordiff
``````shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```#### Laptop extras
```shell
sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt install \
dunst i3 j4-dmenu-desktop playerctl rofi gnome-screenshot \
scdaemon pavucontrol keepassxc
```#### Server extras
```shell
sudo apt install \
zfsutils-linux zfs-auto-snapshot \
mailutils msmtp-mta s-nail \
nfs-kernel-server \
smartmontools \
restic
sudo snap install \
nextcloud
``````
export DOTFILES=~/git/lindhe/dotfilespushd ~
ln -fs "${DOTFILES:?}/.zsh_server" .
popd
```- [ ]
- [ ]
- [ ]## Post-install checklist
### Usability
- [ ] Set shell: `sudo chsh -s /usr/bin/zsh ${USER}`
- [ ] Configure locale:```shell
sudo locale-gen sv_SE.UTF-8
cat ~/git/lindhe/dotfiles/locale/sv_SE | sudo tee -a /etc/default/locale
```- [ ] Set NeoVim as default editor:
```shell
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editor
```- [ ] Add me to the `docker` group: `usermod -aG docker ${USER}`
### Hardening
- [ ] SSH hardening.
- [ ] Setup SSH keys: `ssh-keygen -t ed25519 -C "${USER:?}@$(hostname -f)"`
- [ ] Ubuntu Live Patch: https://ubuntu.com/advantage
- [ ] Configure a [Docker Credential Helper](https://github.com/docker/docker-credential-helpers/) in `~/.docker/config.json`.