users/foo-dogsquared: automate Doom Emacs installation

This commit is contained in:
Gabriel Arazas 2023-03-21 00:17:26 +08:00
parent 51dde96620
commit 7869bb79cf
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -353,4 +353,13 @@ in
extraArgs = [ "--depth" "1" ];
};
};
systemd.user.services.fetch-mutable-files = {
Service.ExecStartPost = pkgs.writeScript "${config.home.username}-post-fetch-mutable-files" ''
#!${pkgs.runtimeShell}
# Automate installation of Doom Emacs.
${config.xdg.configHome}/emacs/bin/doom install --no-config --no-fonts --install --force
'';
};
}