Skip to content
guillaumecabanelPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

112 Commits

Folders and files

Repository files navigation

Debian setup

Prerequisite

Install Debian

  • Full disk encryption
  • No DE

If you set a root password:

# Add user to sudoers
su root
apt install sudo
sudo usermod -aG sudo [username]
exit

Installation

wget -qO- https://raw.githubusercontent.com/guillaumecabanel/debready/main/boot.sh | bash

Re-running

Every step is idempotent, so the whole setup or any single step can be repeated safely on an already-provisioned machine.

cd ~/.local/share/debready
./install.sh --list            # show the steps, in run order
./install.sh                   # run all of them
./install.sh docker postgres   # run only these

boot.sh is the fresh-machine entry point only: it resets the checkout to origin/main, discarding local changes. Re-run install.sh directly instead.

Features

Shortcuts:

  • Terminal: Super + Enter
  • Files: Super + F
  • Downloads: Super + D
  • Default browser (Firefox): Super + Shift + Enter
  • Firefox "Perso" profile: Super + B
  • Copy today's date (yyyymmdd) to the clipboard: Super + Shift + D
  • Switch to workspace 1-5: Super + 1…5
  • Move window to workspace 1-5: Super + Shift + 1…5
  • Tile manager: Super + T
  • Clipboard history: Alt + V

Apps:

  • Alacritty
  • Chrome
  • Firefox (the default browser)
  • VSCodium (settings and extensions provisioned)
  • Vim (colorscheme, statusline, line numbers)
  • VLC

Terminal:

  • Zsh with Oh My Zsh
  • Starship prompt
  • tmux, started by Alacritty (prefix Ctrl + Space)
  • Alacritty, tmux, vim and VSCodium follow the GNOME light/dark colour scheme automatically

Shell tools:

  • eza (aliased as ls)
  • zoxide (aliased as z)
  • system update (aliased as up)
  • vim (aliased as v, and set as $EDITOR)
  • gh, jq, sqlite3, wl-clipboard

TUI:

  • lazygit (aliased as lg)
  • lazydocker (aliased as ld)

Dev:

  • Mise
  • Ruby
  • Rails
  • Ruby LSP (VSCodium extension)
  • uv
  • Python 3.14, uv-managed (python/python3 resolve to it, not to Debian's)
  • Docker, in rootless mode
  • PostgreSQL running in Docker
  • Redis running in Docker
  • TimescaleDB running in Docker

Misc:

  • Boot splash
  • Automatic login
  • Set Capslock as Compose key
  • Set power button behaviour to nothing
  • Show battery percentage
  • 24h clock
  • 5 fixed workspaces
  • Remove automatic screen blank
  • Automatic suspend on battery power afer 20 minutes
  • Remove automatic suspend when plugged in
  • Disable hot corners
  • JetBrainsMono Nerd Font

Troubleshoot

Docker

The daemon is rootless: it is a systemd --user unit, not a system service, and there is no docker group. The root daemon is masked on purpose — being in the docker group is equivalent to being root, so install/docker.sh removes it.

systemctl --user status docker
journalctl --user -u docker -f
docker info --format '{{.SecurityOptions}}'   # expect name=rootless

Containers are started by the user manager, so loginctl enable-linger is what makes --restart unless-stopped survive a reboot without logging in.

Two rootless limits worth knowing: host ports below 1024 cannot be published (remap them in the compose file), and the daemon has its own image/volume store in ~/.local/share/docker — nothing from a previous rootful install is visible.

Wifi issues

cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

last line of /etc/network/interfaces should be

iface lo inet loopback

TODO

Apps

  • localsend (need script)

TUI

  • fzf
  • fd

Dev setup

  • neovim

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages