pantheon/nix/files
2025-07-07 17:42:30 +08:00
..
cheatsheet.nix refactor: move flake-parts modules to nix/modules/flake 2025-07-07 17:42:30 +08:00
readme.nix refactor: move flake-parts modules to nix/modules/flake 2025-07-07 17:42:30 +08:00

{ config, ... }:
{
  text.readme = {
    heading = "Pantheon";
    description = # markdown
      ''
        This flake serves as a monorepo for my systems (using IaC), dotfiles, and scripts.
      '';
    parts."Structure" = # markdown
      ''
        The system configurations are defined in [`flake.manifest`](nix/manifest.nix).
      '';
  };

  perSystem =
    { pkgs, ... }:
    {
      files.files = [
        {
          path_ = "README.md";
          drv = pkgs.writeText "README.md" config.text.readme;
        }
      ];
    };
}