2024-02-11 10:29:14 +01:00
|
|
|
# dot
|
|
|
|
|
|
|
|
This repo tracks user and system configuration files, installed packages
|
2024-05-05 18:04:41 +02:00
|
|
|
and initial command history for setting-up a desktop environment running Debian
|
|
|
|
testing/unstable with `sway`, `foot`, `fuzzel` and `neovim`.
|
2024-02-11 10:29:14 +01:00
|
|
|
|
2024-05-07 14:02:02 +02:00
|
|
|
(The `padova` branch tracks configuration files, installed packages and initial
|
|
|
|
command history for setting-up a `wireguard` VPN server.)
|
|
|
|
|
2024-05-05 18:04:41 +02:00
|
|
|
## bootstrap the dotfiles
|
2024-01-27 22:02:29 +01:00
|
|
|
|
2024-05-05 18:04:41 +02:00
|
|
|
```
|
2024-01-27 22:02:29 +01:00
|
|
|
sudo apt install git
|
2024-05-07 14:02:02 +02:00
|
|
|
git init -b padova
|
2024-01-27 22:02:29 +01:00
|
|
|
git remote add origin gitea@git.kompot.si:urosm/dot.git
|
2024-05-07 14:02:02 +02:00
|
|
|
git pull origin padova
|
2024-05-05 18:04:41 +02:00
|
|
|
```
|
|
|
|
|
2024-05-07 14:02:02 +02:00
|
|
|
## setup urosm@padova
|
2024-05-05 18:04:41 +02:00
|
|
|
|
|
|
|
```sh
|
|
|
|
# disable the annoying `.sudo_as_admin_successful` file
|
2024-01-27 23:31:55 +01:00
|
|
|
sudo cp -ri .config/sudoers.d /etc/
|
2024-05-05 18:04:41 +02:00
|
|
|
# configure and start firewall
|
|
|
|
sudo cp -ri .config/nftables.conf /etc/
|
|
|
|
systemctl enable --now nftables.service
|
2024-05-07 14:02:02 +02:00
|
|
|
# install and configure wireguard
|
|
|
|
sudo apt install wireguard
|
|
|
|
sudo cp -ri .config/wireguard /etc/
|
|
|
|
sudo wg-quick up padova
|
|
|
|
# configure automatic updates
|
|
|
|
sudo apt install unattended-upgrades apt-listchanges
|
2024-01-27 22:02:29 +01:00
|
|
|
```
|