;; Minimal Guix system prototype for the GL-MT6000 project. ;; Phase 1 target: qemu-system-aarch64 -M virt (AAVMF/EFI boot). ;; Phase 3 target: same config with a MT7986-capable kernel, eMMC boot. (use-modules (gnu) (gnu system)) (use-service-modules admin networking ssh) (operating-system (host-name "guix-mt6000") (hashed-root-password (plain "guix")) (timezone "Etc/UTC") (locale "en_US.utf8") (kernel-arguments (list "console=ttyAMA0")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/dev/vda")) (terminal-outputs '(console)))) (file-systems (cons (file-system (mount-point "/") (device (file-system-label "guix-root")) (type "ext4")) %base-file-systems)) (swap-devices '()) (users (cons (user-account (name "router") (group "users") (supplementary-groups '("wheel"))) %base-user-accounts)) ;; Keep it lean: only what the OpenWrt-userland prototype needs. (packages (append (list iproute iputils) %base-packages)) (services (cons* (service openssh-service-type (openssh-configuration (permit-root-login #t) (password-authentication? #t))) ;; Placeholder for the future ubusd/netifd shepherd services. (service agetty-service-type (agetty-configuration (terminals (list (tty "ttyAMA0"))))) %base-services)))