fix(ags): make sure types are symlinked to config
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-25 10:38:26 -05:00
parent 31cc3fa777
commit 6f5d7b1e4c

View file

@ -20,12 +20,16 @@ in {
}: let }: let
symlink = config.lib.file.mkOutOfStoreSymlink; symlink = config.lib.file.mkOutOfStoreSymlink;
inherit (lib) optionals; inherit (lib) optionals;
# https://github.com/Aylur/ags/blob/e1f2d311ceb496a69ef6daa6aebb46ce511b2f22/nix/hm-module.nix#L69
agsTypes = config.home.file.".local//share/com.github.Aylur.ags/types";
in { in {
programs.ags.enable = true; programs.ags.enable = true;
home = { home = {
file = { file = {
".config/ags".source = symlink /home/${mainUser}/.nix/modules/ags/config; ".config/ags".source = symlink /home/${mainUser}/.nix/modules/ags/config;
".nix/modules/ags/config/types".source = agsTypes.source;
".nix/modules/ags/config/config.js".text = ".nix/modules/ags/config/config.js".text =
/* /*
javascript javascript