https://github.com/its-alex/dotfiles
All my dotfiles
https://github.com/its-alex/dotfiles
Last synced: about 1 month ago
JSON representation
All my dotfiles
- Host: GitHub
- URL: https://github.com/its-alex/dotfiles
- Owner: Its-Alex
- Created: 2018-02-16T23:57:23.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T13:57:19.000Z (over 1 year ago)
- Last Synced: 2025-02-23T11:12:28.591Z (over 1 year ago)
- Language: Lua
- Size: 2.02 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
This repo contains all my configuration.
## Requirements
- [`chezmoi`](https://github.com/twpayne/chezmoi)
## Getting started
To execute a first install, use:
```sh-session
$ sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply https://github.com/Its-Alex/dotfiles.git
```
To update your current configuration:
```sh-session
$ chezmoi apply
```
## Install from scratch
To install from scratch I use [QEMU Archlinux](https://github.com/Its-Alex/qemu-archlinux),
when the VM is setup I enable `pinentry-curses` using:
```shell
$ mkdir -p ~/.gnupg/ && \
echo 'pinentry-program /usr/bin/pinentry-curses' >> ~/.gnupg/gpg-agent.conf && \
echo 'allow-loopback-pinentry' >> ~/.gnupg/gpg-agent.conf && \
echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf && \
export GPG_TTY=$(tty) && \
gpgconf --kill gpg-agent
```
This allow for GPG password to be entered in shell for development purpose. I
also enable rootless password to prevent putting password everytime:
```shell
$ echo 'archlinux ALL=(ALL) NOPASSWD: ALL' | sudo tee /etc/sudoers.d/90-archlinux-nopasswd >/dev/null && \
sudo chmod 0440 /etc/sudoers.d/90-archlinux-nopasswd
```
Finally I can launch:
```shell
$ CHEZMOI_PASSWORD_MANAGER_DISABLED=true sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply https://github.com/Its-Alex/dotfiles.git
```
To install dotfiles. The variable `CHEZMOI_PASSWORD_MANAGER_DISABLED` allow me
to perform a full installation without connecting myself because I don't want
to automate this part.
## Configurations
Today I mainly use two computer:
- Home computer, a dualboot Windows/Linux, running ArchLinux
```sh
$ neofetch --stdout
OS: Arch Linux x86_64
Host: MS-7C91 2.0
Kernel: 6.7.9-arch1-1
Uptime: 2 hours, 29 mins
Packages: 1498 (pacman), 22 (flatpak)
Shell: zsh 5.9
Resolution: 2560x1440
DE: GNOME 45.4
WM: Mutter
WM Theme: Flat-Remix-Blue-Dark-fullPanel
Theme: Numix-Frost [GTK2/3]
Icons: Numix-Square [GTK2/3]
Terminal: tmux
CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
GPU: NVIDIA GeForce RTX 4080 SUPER
Memory: 7726MiB / 32018MiB
```
- Work computer
```sh
$ neofetch --stdout
OS: Arch Linux x86_64
Host: Latitude 3420
Kernel: 6.9.1-arch1-1
Uptime: 13 hours, 33 mins
Packages: 869 (pacman), 23 (flatpak)
Shell: zsh 5.9
Resolution: 1920x1080
DE: GNOME 46.1
WM: Mutter
WM Theme: Flat-Remix-Blue-Dark-fullPanel
Theme: Numix-Frost [GTK2/3]
Icons: Numix-Square [GTK2/3]
Terminal: tmux
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
Memory: 6613MiB / 15738MiB
```
## Linux
### Gnome
#### Tips
If the ssh agent is not started, execute:
```sh
$ systemctl --user enable gcr-ssh-agent.socket
```
#### Extensions
- [`Dash to dock`](https://micheleg.github.io/dash-to-dock/)
- [`GNOME Fuzzy App Search`](https://extensions.gnome.org/extension/3956/gnome-fuzzy-app-search/)
- [`Grand Theft Focus`](https://extensions.gnome.org/extension/5410/grand-theft-focus/)
- [`System monitor next`](https://extensions.gnome.org/extension/3010/system-monitor-next/)
- [`Extension manager`](https://github.com/mjakeman/extension-manager)
You can find them in [gnome-extensions.txt](./gnome-extensions.txt).
#### Themes
- [`flat-remix-gnome`](https://github.com/daniruiz/flat-remix-gnome)
- [`Twilight cursors`](https://github.com/yeyushengfan258/Twilight-Cursors)
### Snapper
To configure [Snapper](https://wiki.archlinux.org/title/Snapper) on Archlinux you
can use:
```shell
$ ./scripts/config-snapper.sh
```