users/foo-dogsquared: add Doom Emacs sync

While installing it should be idempotent, it does change/breaks(?) the
configuration. A simple `doom sync` should fix it.
This commit is contained in:
Gabriel Arazas 2023-05-03 12:47:12 +08:00
parent b9e05dd1fa
commit 91bfe61212
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -354,6 +354,7 @@ in
script = pkgs.writeShellScript "post-fetch-mutable-files" ''
# Automate installation of Doom Emacs.
${config.xdg.configHome}/emacs/bin/doom install --no-config --no-fonts --install --force
${config.xdg.configHome}/emacs/bin/doom sync
'';
in builtins.toString script;
};