How blxckmage/sefirah works
This repository is a NixOS workstation configuration, with a Python CLI package, Sefirah, providing several desktop-oriented utilities. The Sefirah workflow starts at command dispatch and branches into status, planetary-hour reporting, tarot draws and artwork, machine sigils, and Hyprlock configuration generation. The graph also preserves major configuration areas visible in the tree. Relationships for unsampled Nix modules are omitted; source-level links are based on the supplied excerpts and SOURCE INDEX.
Main entry points: cli.py Command dispatch · tarot.py Tarot logic and images · layout.py Hyprlock layout · sigil.py Machine sigil
Components 22
System configuration
- NixOS modules
modules/nixos - Host configuration
modules/hosts/tx1c7.nix - Home modules
modules/home
Desktop environment
- Niri desktop
modules/home/niri.nix - Waybar setup
modules/home/files/waybar/default.nix - Neovim setup
modules/nixcats/nvim
Sefirah utilities
- Command dispatch
pkgs/sefirah/sefirah/cli.py - Lock config writer
pkgs/sefirah/sefirah/transmute.py - System status
pkgs/sefirah/sefirah/status.py - Hour reporting
pkgs/sefirah/sefirah/hour.py - Daily tarot draw
pkgs/sefirah/sefirah/draw.py - Deck and artwork
pkgs/sefirah/sefirah/cards.py - Machine sigil
pkgs/sefirah/sefirah/sigil.py
Sefirah internals
- Hyprlock layout
pkgs/sefirah/sefirah/layout.py - Planetary and lunar time
pkgs/sefirah/sefirah/sky.py - Tarot logic and images
pkgs/sefirah/sefirah/tarot.py - Paths and helpers
pkgs/sefirah/sefirah/common.py
Other components
- Workstation user
- Wikimedia Commons
- ImageMagick
- Niri outputs
- Linux system data
Connections 24
- Workstation user → Command dispatch: runs commands
- Command dispatch → Lock config writer: dispatches
pkgs/sefirah/sefirah/cli.py - Command dispatch → System status: dispatches
pkgs/sefirah/sefirah/cli.py - Command dispatch → Hour reporting: dispatches
pkgs/sefirah/sefirah/cli.py - Command dispatch → Daily tarot draw: dispatches
pkgs/sefirah/sefirah/cli.py - Command dispatch → Deck and artwork: dispatches
pkgs/sefirah/sefirah/cli.py - Command dispatch → Machine sigil: dispatches
pkgs/sefirah/sefirah/cli.py - Lock config writer → Hyprlock layout: generates config
pkgs/sefirah/sefirah/transmute.py - Hyprlock layout → Machine sigil: renders sigil
pkgs/sefirah/sefirah/layout.py - Hyprlock layout → Tarot logic and images: gets card image
pkgs/sefirah/sefirah/layout.py - Hyprlock layout → Niri outputs: queries outputs
pkgs/sefirah/sefirah/layout.py - Hour reporting → Planetary and lunar time: calculates phases
pkgs/sefirah/sefirah/hour.py - Hour reporting → Machine sigil: gets host seed
pkgs/sefirah/sefirah/hour.py - Hour reporting → Tarot logic and images: draws daily card
pkgs/sefirah/sefirah/hour.py - Daily tarot draw → Machine sigil: gets host seed
pkgs/sefirah/sefirah/draw.py - Daily tarot draw → Tarot logic and images: draws or renders
pkgs/sefirah/sefirah/draw.py - Deck and artwork → Tarot logic and images: lists or fetches
pkgs/sefirah/sefirah/cards.py - Tarot logic and images → Wikimedia Commons: fetches artwork
pkgs/sefirah/sefirah/tarot.py - Tarot logic and images → ImageMagick: converts artwork
pkgs/sefirah/sefirah/tarot.py - Machine sigil → Paths and helpers: uses paths
pkgs/sefirah/sefirah/sigil.py - System status → Paths and helpers: reads system paths
pkgs/sefirah/sefirah/status.py - Tarot logic and images → Paths and helpers: uses cache paths
pkgs/sefirah/sefirah/tarot.py - Hyprlock layout → Paths and helpers: uses state paths
pkgs/sefirah/sefirah/layout.py - System status → Linux system data: reads metrics
pkgs/sefirah/sefirah/status.py