Debian Setup: sid with KDE

In this post I describe how I set up my Debian computers. This is less of a tutorial and more of a documentation/cheatsheet for me.

General setup

Add the normal user to sudoers group:

usermod -aG sudo username

nmcli

service NetworkManager status

nmcli
nmcli connection show
nmcli device show

Upgrade to sid

Edit the file /etc/apt/sources.list an change the content as follows (you may want to adjust the mirror):

deb http://ftp.us.debian.org/debian/ sid main contrib non-free non-free-firmware
deb-src http://ftp.us.debian.org/debian/ sid main contrib non-free non-free-firmware

Locales

# show all locales
locale

# Regenerate locales
dpkg-reconfigure locales

Terminal

Set default editor:

update-alternatives --config editor

Install and setup zsh

see installation instructions:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

A good theme is bira, see Themes on github.

Fira Code Font

apt install fonts-firacode

Software

Basic tools

Basic Software that can be installed via apt:

apt install wget neovim neofetch keepassxc flatpak vlc git-lfs dnsutils

Firefox

apt uninstall firefox-esr -y && apt install firefox

⚠️ The search engine defaults to Google, change this before first usage!

VS Code

https://code.visualstudio.com/docs/setup/linux

Flatpak

# add flathub repository
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# discord
flatpak install flathub com.discordapp.Discord

# Spotify
flatpak install flathub com.spotify.Client

# Nextcloud sync client
flatpak install flathub com.nextcloud.desktopclient.nextcloud

# Telegram Desktop
flatpak install flathub org.telegram.desktop

# jDownloader
flatpak install flathub org.jdownloader.JDownloader

# Steam
flatpak install flathub com.valvesoftware.Steam

# Emby Theater
flatpak install flathub media.emby.EmbyTheater

Update flatpaks with flatpak update.

mullvad

Installation instructions

wget --content-disposition https://mullvad.net/download/app/deb/latest
apt install ./MullvadVPN-XXXX.X_amd64.deb

KDE

neovim

Configuration location for neovim: .config/nvim/init.vim:

set number
syntax on
set tabstop=4
set expandtab

NFS

See article in Arch Wiki

apt install nfs-common

Add the following two lines to /etc/fstab, replace vault.san with the hostname oder IP address of your NFS server and adjust the paths:

vault.san:/mnt/vault/media /mnt/media nfs _netdev,auto,x-systemd.automount 0 0
vault.san:/mnt/vault/users/username /mnt/username nfs _netdev,auto,x-systemd.automount 0 0

Load changes: systemctl restart remote-fs.target