Migrate MIME associations and Guix channels to native Home services #2

Open
opened 2026-08-17 04:34:27 +00:00 by htayj · 0 comments
htayj commented 2026-08-17 04:34:27 +00:00 (Migrated from github.com)

Goal

Evaluate and migrate the manually deployed MIME and Guix channel configuration to native Guix Home services where doing so removes duplication without weakening channel authentication.

Scope

MIME applications

Replace the tracked ~/.config/mimeapps.list with home-xdg-mime-applications-service-type and home-xdg-mime-applications-configuration, preserving:

  • added associations;
  • default applications;
  • URL-scheme handlers;
  • the current X11/Wayland image-viewer decision.

Guix channels

Refactor the authenticated channel definitions so the same Scheme data can be consumed by:

  • guix time-machine -C;
  • home-channels-service-type for ~/.config/guix/channels.scm;
  • generation of ~/.config/guix/trusted-channels.scm.

Avoid maintaining two independent lists or allowing %default-channels to override the explicitly pinned/authenticated Guix channel.

Acceptance checks

  • Generated mimeapps.list is behaviorally equivalent to the current file.
  • xdg-mime query default returns the expected applications for representative MIME types and URL schemes.
  • guix pull --dry-run authenticates every configured channel without trust warnings.
  • guix time-machine -C continues to work from a fresh shell.
  • The active and trusted channel files contain the intended introductions and pins.

Imported from GitHub issue/PR. Originally posted by htayj on 2026-08-17T04:34:27Z.

## Goal Evaluate and migrate the manually deployed MIME and Guix channel configuration to native Guix Home services where doing so removes duplication without weakening channel authentication. ## Scope ### MIME applications Replace the tracked `~/.config/mimeapps.list` with `home-xdg-mime-applications-service-type` and `home-xdg-mime-applications-configuration`, preserving: - added associations; - default applications; - URL-scheme handlers; - the current X11/Wayland image-viewer decision. ### Guix channels Refactor the authenticated channel definitions so the same Scheme data can be consumed by: - `guix time-machine -C`; - `home-channels-service-type` for `~/.config/guix/channels.scm`; - generation of `~/.config/guix/trusted-channels.scm`. Avoid maintaining two independent lists or allowing `%default-channels` to override the explicitly pinned/authenticated Guix channel. ## Acceptance checks - Generated `mimeapps.list` is behaviorally equivalent to the current file. - `xdg-mime query default` returns the expected applications for representative MIME types and URL schemes. - `guix pull --dry-run` authenticates every configured channel without trust warnings. - `guix time-machine -C` continues to work from a fresh shell. - The active and trusted channel files contain the intended introductions and pins. --- Imported from [GitHub issue/PR](https://github.com/htayj/dotfiles/issues/2). Originally posted by [htayj](https://github.com/htayj) on 2026-08-17T04:34:27Z.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tay/dotfiles#2
No description provided.