dotfiles/guix
Cyryl Płotnicki acd2e443cc
Some checks failed
use nix / build (push) Successful in 25m52s
Debug Guix CI / debug-info (push) Has been cancelled
Quick Check / validate (push) Has been cancelled
Test CI Setup / test (push) Has been cancelled
Test MNT Reform Guix Configuration / test-configurations (push) Has been cancelled
Test MNT Reform Guix Configuration / test-qemu-boot (push) Has been cancelled
Test MNT Reform Guix Configuration / test-scripts (push) Has been cancelled
Test MNT Reform Guix Configuration / quick-validation (push) Has been cancelled
Test MNT Reform Guix Configuration / build-test-artifacts (push) Has been cancelled
Test MNT Reform Guix Configuration / summary (push) Has been cancelled
experiment with guix actions
2025-06-14 20:49:16 +01:00
..
skinnyv Skinny on btrfs 2021-04-06 07:14:20 +01:00
vm reinstall guix vm 2022-08-14 08:31:59 +01:00
channels.scm add rde guix channel 2022-03-04 14:29:55 +00:00
home-configuration.scm add start of config 2022-03-04 14:57:06 +00:00
mnt-reform-config.scm test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
mnt-reform-install-guide.md test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
mnt-reform-libre-config.scm test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
mnt-reform-qemu-test.md test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
mnt-reform-test-macos.md test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
MNT-Reform-Test.command test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
README.md experiment with guix actions 2025-06-14 20:49:16 +01:00
setup-reform-qemu-test.sh test some guix reform shenaningans 2025-06-14 20:32:15 +01:00
setup-reform-test-macos.sh test some guix reform shenaningans 2025-06-14 20:32:15 +01:00

Guix Configuration

This directory contains Guix System and Guix Home configurations.

MNT Reform (RK3588) Support

For MNT Reform with RK3588 processor module, we provide:

  • mnt-reform-install-guide.md - Complete installation guide
  • mnt-reform-config.scm - Full configuration with non-free firmware support
  • mnt-reform-libre-config.scm - Libre-only configuration (limited hardware support)

Quick Start for MNT Reform

  1. Follow the installation guide in mnt-reform-install-guide.md
  2. Choose your configuration:
    • For maximum hardware support (WiFi, etc.): use mnt-reform-config.scm
    • For fully free software: use mnt-reform-libre-config.scm
  3. Important: Update the UUID placeholders in the configuration file!
# Find your partition UUIDs
lsblk -f

# Edit the configuration
nano /etc/config.scm

General Setup

New Machine Setup

guix pull
hash guix
guix shell git
git clone https://git.sr.ht/~cyplo/dotfiles

guix pull --channels=/home/cyryl/dev/dotfiles/guix/channels.scm
guix system reconfigure /etc/config.scm
# merge /etc/config.scm into /home/cyryl/dev/dotfiles/guix/vm/config.scm
guix system reconfigure /home/cyryl/dev/dotfiles/guix/vm/config.scm
guix home reconfigure /home/cyryl/dev/dotfiles/guix/home-configuration.scm

Files

  • channels.scm - Channel configuration (includes nonguix for non-free firmware)
  • home-configuration.scm - Guix Home configuration
  • vm/ - Virtual machine configurations
  • mnt-reform-*.scm - MNT Reform specific configurations
  • setup-reform-qemu-test.sh - Automated QEMU test environment setup
  • setup-reform-test-macos.sh - macOS-specific QEMU test setup
  • mnt-reform-test-macos.md - Detailed macOS testing guide
  • MNT-Reform-Test.command - macOS GUI launcher

Testing

Local Testing

Test the MNT Reform configuration without hardware:

Linux

# Run the automated setup
bash setup-reform-qemu-test.sh

# Navigate to test directory
cd ~/mnt-reform-qemu-test

# Start testing
./quick-start.sh install  # Boot installer
./quick-start.sh boot     # Boot installed system

macOS

# Install dependencies
brew install qemu wget xz gnu-tar coreutils

# Run the macOS-specific setup
bash setup-reform-test-macos.sh

# Navigate to test directory
cd ~/mnt-reform-test-macos

# Start testing
./quick-start.sh install  # Boot installer
./quick-start.sh boot     # Boot installed system

Note: Apple Silicon Macs (M1/M2/M3) provide much better performance due to native ARM64 virtualization. Intel Macs will run slower due to ARM64 emulation.

For a GUI interface on macOS, double-click MNT-Reform-Test.command.

CI/CD

The configurations are automatically tested on git.cyplo.dev using Forgejo Actions:

  • Configuration syntax validation
  • QEMU boot testing
  • Script validation
  • Documentation checks

CI workflows are located in the repository root at .forgejo/workflows/.