~hacktivista/config

6220b735d9868359da4dd8108cd45e002940bbab — Felix Freeman 5 months ago 66ab23f
LXD setup + Podman
M README => README +7 -1
@@ 98,7 98,7 @@ ffmpeg imagemagick
audacity gimp inkscape kdenlive krita libreoffice-fresh

# virtualized/containerized environments
qemu-desktop lxd
qemu-desktop lxd podman aardvark-dns podman-compose podman-dnsname fuse-overlayfs


## Enable required services


@@ 106,6 106,12 @@ qemu-desktop lxd
systemctl enable --now iwd dhcpcd tlp thermald


## Setup LXD

usermod -v 1000000-1000999999 -w 1000000-1000999999 root
lxd init


## Install configurations (this repo!)

# clone

A root/etc/containers/registries.conf.d/10-unqualified-docker-hub.conf => root/etc/containers/registries.conf.d/10-unqualified-docker-hub.conf +1 -0
@@ 0,0 1,1 @@
unqualified-search-registries = ["docker.io"]

M root/etc/skel/README.md => root/etc/skel/README.md +9 -0
@@ 12,6 12,15 @@ Change desired variables on `~/.config/sway/vars`, then run `swayvars2bemenu` to

You can also add custom Sway configs by adding files to `~/config/sway/config.d/`.

## Podman

If you need to run non-root podman containers, give the user access to uids/gids.

```
sudo touch /etc/sub{u,g}id
sudo usermod --add-subuids 10000-75535 --add-subgids 10000-75535 $USER
```

## Doom Emacs

```

A root/etc/subgid => root/etc/subgid +0 -0
A root/etc/subuid => root/etc/subuid +0 -0