refactor: get rid of mdDocs usage

This commit is contained in:
matt1432 2024-06-24 12:30:49 -04:00
parent a793ff8a13
commit 27f1d01f31
11 changed files with 48 additions and 21 deletions
modules/ags

View file

@ -31,7 +31,7 @@ in {
...
}: let
symlink = config.lib.file.mkOutOfStoreSymlink;
inherit (lib) hasPrefix mdDoc optionals removePrefix;
inherit (lib) hasPrefix optionals removePrefix;
configJs =
# javascript
@ -46,7 +46,7 @@ in {
assertions = [
{
assertion = hasPrefix "/home/${mainUser}/" flakeDir;
message = mdDoc ''
message = ''
Your $FLAKE environment variable needs to point to a directory in
the main users' home to use the AGS module.
'';