diff --git a/.gitignore b/.gitignore index 4c4313f..73815bd 100644 --- a/.gitignore +++ b/.gitignore @@ -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 /target/ diff --git a/setup/autostart.toml b/setup/autostart.toml new file mode 100644 index 0000000..d7eb4c1 --- /dev/null +++ b/setup/autostart.toml @@ -0,0 +1,4 @@ +# setup an autostarting kiosk that runs a webpage in a browser +[kiosk] +page = "https://time.is" +user = "kiosk" diff --git a/setup/network.toml b/setup/network.toml new file mode 100644 index 0000000..64c4d14 --- /dev/null +++ b/setup/network.toml @@ -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" diff --git a/setup/os.toml b/setup/os.toml new file mode 100644 index 0000000..4394c7c --- /dev/null +++ b/setup/os.toml @@ -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"] diff --git a/setup/packages.toml b/setup/packages.toml new file mode 100644 index 0000000..80f27a2 --- /dev/null +++ b/setup/packages.toml @@ -0,0 +1,7 @@ +# install some extra alpine packages +install = [ + "emacs-nox", "tmux", +] + +# add openrc units to autostart +autostart = []