fix(ags): make sure types are symlinked to config
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
31cc3fa777
commit
6f5d7b1e4c
1 changed files with 4 additions and 0 deletions
|
@ -20,12 +20,16 @@ in {
|
|||
}: let
|
||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
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 {
|
||||
programs.ags.enable = true;
|
||||
|
||||
home = {
|
||||
file = {
|
||||
".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 =
|
||||
/*
|
||||
javascript
|
||||
|
|
Loading…
Reference in a new issue