add example setup

This commit is contained in:
Dominic 2023-04-05 14:06:56 +02:00
parent ddc990b522
commit 515545cd24
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
5 changed files with 52 additions and 5 deletions

5
.gitignore vendored
View file

@ -1,8 +1,3 @@
# sorry but I don't need my network config public
setup/network.toml
# also other config contains like access tokens so just hide everything
setup/
# rust/cargo # rust/cargo
/target/ /target/

4
setup/autostart.toml Normal file
View file

@ -0,0 +1,4 @@
# setup an autostarting kiosk that runs a webpage in a browser
[kiosk]
page = "https://time.is"
user = "kiosk"

8
setup/network.toml Normal file
View file

@ -0,0 +1,8 @@
# enable connecting the raspberry pi into your tailscale network
tailscale = true
# add a wifi network
[[wifi]]
ssid = "eduroam"
security = "WPA-PSK"
password = "yoursupersecretpassword"

33
setup/os.toml Normal file
View file

@ -0,0 +1,33 @@
[alpine]
# the alpine version. I recommend always using the latest available
branch = "v3.17"
# aarch64 is required if you want to run some software like a browser
arch = "aarch64"
# unless you have a local mirror that you know will be fast, just leave this empty
mirror = "https://ftp.halifax.rwth-aachen.de/alpine"
# here you can add some extra repositories and their signing keys
extra_repos = []
extra_keys = []
[host]
# set your local keyboard layout
keymap = "de"
keymap_variant = "de-dvorak"
# create a user for you to log in
[[user]]
name = "msrd0"
password = "changeme"
sudo = true
authorized_keys = [
# add your ssh key(s) here
]
# create a user for the autostarting kiosk
[[user]]
name = "kiosk"
password = "changeme"
groups = ["audio", "cdrom", "dialout", "floppy", "input", "uucp", "video"]

7
setup/packages.toml Normal file
View file

@ -0,0 +1,7 @@
# install some extra alpine packages
install = [
"emacs-nox", "tmux",
]
# add openrc units to autostart
autostart = []