Refactoring

21ba392
Opened by Benedikt Peetz <benedikt.peetz@b-peetz.de> at 2024-12-26 20:01:04

Issue

  • currently, modules are loosely spread over the entire tree
  • related config is spread over different directories (e.g. impermanence mods)

Proposed Solution

  • Refactor tree, every module gets own directory under mod, e.g. mod/etebase which will be imported and contains all related files (config, impermanence declaration etc.). As part of that process, one could make option declarations (e.g. options.mod.etebase.enable) which would simplify future multiple-hosts setups.
  • helper functions should be defined in a separate lib folder
  • maybe use flake-parts
  1. We are working on centralizing the modules under modules/by-name.

    Benedikt Peetz at 2024-12-26 20:00:55