modules/core: move mkSection functions to lib/dag

This commit is contained in:
raf 2024-04-14 14:49:45 +03:00
commit cb362a7905
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 19 additions and 18 deletions

View file

@ -107,4 +107,14 @@ in {
entryAfter = entryBetween [];
entryBefore = before: entryBetween before [];
mkLuarcSection = section: ''
-- SECTION: ${section.name}
${section.data}
'';
mkVimrcSection = section: ''
" SECTION: ${section.name}
${section.data}
'';
}