mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-21 14:24:34 +00:00
No description
airootfs | ||
efiboot/loader | ||
.gitignore | ||
bootstrap_packages.x86_64 | ||
COPYING | ||
packages.x86_64 | ||
pacman.conf | ||
profiledef.sh | ||
readme.md |
Abrechenbarkeit SD
An immutable linux distribution exclusively for running web applications such as Abrechenbarkeit.
Configuration
This distribution on its own is rather application agnostic. It can run any web-app of your choice. All configuration is done through EFI firmware variables (yes thats a very bad idea).
- 97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38-WlanSSID (optional)
- 97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38-WlanPSK (optional)
- 97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38-AppUrl
Building
Run mkarchiso -v -w /tmp/abrecheniso .
. For more information see
the ArchWiki article.
File Overview
airootfs/etc/hostname
Sets hostname to "asd"airootfs/etc/locale.conf
Sets locale to Cairootfs/etc/localtime
Sets Europe/Berlin timezoneairootfs/etc/mkinitcpio.conf.d/archiso.conf
Standard mkinitcpio configairootfs/etc/mkinitcpio.d/linux.preset
Standard mkinitcpio configairootfs/etc/os-release
Rebrands systemairootfs/etc/pam.d/cage
Allows cage to start a user sessionairootfs/etc/shadow
Passwords (none)airootfs/etc/ssh/sshd_config.d/10-login.conf
Allow root login, disable password loginairootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf
Randomize IPv6airootfs/etc/systemd/network/20-ethernet.network
Configure ethernet via DHCP + mDNSairootfs/etc/systemd/network/20-wireless.network
Configure wireless via DHCP + mDNSairootfs/etc/systemd/network/20-rename-wlan.link
Rename all wireless interfaces to "wfi0"airootfs/etc/systemd/resolved.conf.d/mdns.conf
Enable mDNS host resolverairootfs/etc/systemd/system/abrechenbarkeit@.service
Systemd service that starts a wayland compositor with electron running the target application. Run after network is online, video drivers are initialized and user sessions can be used. Replaces getty for that tty.airootfs/etc/systemd/system/configure_wpa.service
Configuration service strictly running before wpa_supplicant but only if the required EFI variable is set.airootfs/etc/systemd/system/default.target
Targeting graphical.target at bootairootfs/etc/systemd/system/graphical.target.wants/abrechenbarkeit@tty1.service
Enables the UI for tty1 for graphical.targetairootfs/etc/systemd/system/multi-user.target.wants
Enables other services: sshd, systemd-networkd, systemd-resolved and othersairootfs/etc/systemd/system/network-online.target.wants
Enables wpa_supplicant and our configuration serviceairootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf
Waits for only one interface, where default would be allairootfs/etc/systemd/system/wpa_supplicant@.service.d/override.conf
Patches wpa_supplicant to require configure_wpa.serviceairootfs/etc/sysusers.d/abrechenbarkeit.conf
Creates abrechenbarkeit user at system bootairootfs/etc/tmpfiles.d/abrechenbarkeit.conf
Creates abrechenbarkeit home directory at system bootairootfs/etc/udev/rules.d/99-dri.rules
Creates systemd device node to depend upon for /dev/dri/card0airootfs/usr/local/bin/configure_wpa
Generates wpa_supplicant configuration from EFI variablesairootfs/usr/share/pacman/keyrings/metamuffin-infra-trusted
Adds metamuffin-infra repositories as trusted. Might be useful for updating.efiboot/loader/entries/asd.conf
gummiboot entry with the OS nameefiboot/loader/loader.conf
Sets asd.conf as default boot entrypackages.x86_64
List of all packages to preinstallbootstrap_packages.x86_64
List of all packages to install for installationpacman.conf
Standard pacman configprofiledef.sh
mkarchiso profile definition with systemd-boot replacing all other bootloadersreadme.md
This file; Documenting the config files
Licence
See COPYING; AGPL-3.0-only