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

{ config, lib, ... }:
let
  inherit (lib) singleton;
in
{
  text.readme = {
    heading = "Pantheon";
    description = ''
      This flake serves as a monorepo for my systems (using IaC), dotfiles, and scripts.
    '';
  };

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