guix-config

Guix system and home config for XIII (librebooted T480)
git clone https://g1rls.strangled.net/guix-config.git
Log | Files | Refs | README

commit 4b17435f6c7317982efb933efa702209b60654d1
parent dab0bce19635a8a9e47efd8b5c1fd821330fd96d
Author: freya <freya@xiii.invalid>
Date:   Sat,  5 Dec 2026 15:24:30 +0400

add readme and screenshot

Diffstat:
AREADME.md | 31+++++++++++++++++++++++++++++++
Ascreenshot.webp | 0
2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,31 @@ +# xiii + +Guix System and Guix Home config for a ThinkPad T480 with coreboot, linux-libre and niri. + +![screenshot](screenshot.webp) + +## Files + +- `system.scm`: the operating system. LUKS2 root, nftables, mihomo, Yggdrasil, sshd. +- `home.scm`: Guix Home. Packages, mcron jobs, dotfiles linked from `dots/`. +- `theme.scm`: one palette for foot, mako, wob and niri. +- `channels.scm`: channels for `guix pull`. `trusted-channels.scm` pins the commits a reconfigure runs from. +- `dots/`: dotfiles and the `xiii-*` scripts. +- `private.scm.age`: site-specific values, encrypted with age. `system.scm` loads the decrypted `private.scm`, which git ignores. + +## Install + +1. Boot the Guix installer. Make an EFI partition and a LUKS2 partition holding ext4 labelled `xiii-root`. +2. `git clone nostr://npub1mvxl7svz7tl368p4ryxwucppt46x882k08x02468ggvyge9uky6qqecjpf/guix-config ~/.config/guix` +3. Decrypt `private.scm.age`, or write your own `private.scm` defining `%vps-ip` and `%vps-ygg`. +4. Put your disk's LUKS and EFI UUIDs into `system.scm`. +5. `sudo guix time-machine -C ~/.config/guix/trusted-channels.scm -- system reconfigure ~/.config/guix/system.scm` +6. `guix home reconfigure -L ~/.config/guix ~/.config/guix/home.scm` + +Plain git can clone the HTTPS URL of any of the repo's GRASP servers instead of the `nostr://` one. + +## Not in the repo + +- `/etc/mihomo`: the mihomo binary and its config. Without them the first reconfigure fails, so comment out `%mihomo` and the `http-proxy` line in `system.scm` until they are in place. +- Keys: the Yggdrasil key, ssh keys, the tunnel key in `/etc/xiii-tun`. +- `~/.local/bin/free-feed`, run by the mcron job in `home.scm`. diff --git a/screenshot.webp b/screenshot.webp Binary files differ.