refactor: move docs/readme and docs/cheatsheet to flake-parts
This commit is contained in:
parent
17a11a4628
commit
db54193167
3 changed files with 0 additions and 7 deletions
21
modules/flake-parts/files/readme.nix
Normal file
21
modules/flake-parts/files/readme.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue