updated the installer so that it should actually work
Some checks failed
Build / build (push) Failing after 5m23s

This commit is contained in:
tumillanino
2025-11-11 18:57:02 +11:00
parent a7bd4d9457
commit 33dd952ad4
583 changed files with 161651 additions and 67 deletions

View File

@@ -1,16 +1,28 @@
# Miasma OS Installer
Opinionated Arch Linux installer built with Go and Bubble Tea TUI framework.
This is still in very early development and not yet ready to use, if you happen to stumble across this page.
This installer creates a security-hardened, immutable Miasma OS with Cosmic Desktop.
## Features
- **Filesystem**: btrfs with optimized subvolume layout
- **Desktop**: Cosmic Desktop
- **Kernel**: linux-hardened
- **Filesystem**: btrfs with optimized subvolume layout and snapshots
- **Desktop**: Cosmic Desktop (Rust-based, memory-safe)
- **Kernel**: linux-hardened for security
- **Encryption**: LUKS2 by default (optional)
- **Boot**: UEFI only (systemd-boot)
- **Future**: Secure Boot support planned
- **Boot**: UEFI only (systemd-boot) with Secure Boot support
- **Configuration**: Generates archinstall-compatible JSON configuration files
- **Security**:
- OpenDoas instead of sudo
- Firejail and AppArmor for application containerization
- nftables firewall with restrictive defaults
- hardened-malloc from GrapheneOS
- XWayland-Satellite for better X11 app isolation
- **Additional Features**:
- Chromium with Wayland support
- Neovim with LazyVim configuration
- Kanagawa Dragon theme everywhere
- Alacritty terminal emulator
- Zsh shell with Oh My Zsh
## Quick Install
@@ -29,6 +41,14 @@ chmod +x miasma-installer
sudo ./miasma-installer
```
## Configuration Files
The installer generates archinstall-compatible configuration files:
- `user_configuration.json` - System configuration (disk layout, packages, services, etc.)
- `user_credentials.json` - User credentials (passwords, encryption keys)
These files are saved to `/var/log/archinstall/` on the installed system for reference and reproducibility.
## Development
### Prerequisites
@@ -71,6 +91,7 @@ make vet
.
├── config/ # Installation configuration and archinstall JSON generation
├── scripts/ # Post-install shell scripts
├── overlay/ # System overlays (Arkdep-like approach)
├── tui/
│ ├── model.go # Root state machine
│ ├── steps/ # Installation step models
@@ -85,6 +106,7 @@ Custom shell scripts in `scripts/` run after archinstall completes:
- `01-cosmic-setup.sh` - Cosmic Desktop configuration
- `02-hardening.sh` - System hardening tweaks
- `03-miasma-features.sh` - Additional Miasma OS features
Scripts execute in alphabetical order.