This commit is contained in:
Andrea Ciceri 2023-11-08 14:30:47 +01:00
parent d977d7857a
commit c2dc6078f7
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
6 changed files with 148 additions and 207 deletions

View file

@ -1,8 +1,4 @@
{
self,
inputs,
...
}: {
{self, ...}: {
flake.hmModules = {
default = self.hmModules.ccrEmacs;
ccrEmacs = {
@ -21,11 +17,9 @@
};
config = let
ccrEmacsConfig = config.ccrEmacs;
cfg = config.services.emacs;
in
lib.mkIf ccrEmacsConfig.enable {
nixpkgs.overlays = [
inputs.emacs-overlay.overlays.default
];
programs.emacs = {
enable = true;
package = ccrEmacsConfig.package;
@ -36,6 +30,7 @@
defaultEditor = true;
socketActivation.enable = false;
startWithUserSession = true;
package = ccrEmacsConfig.package;
};
systemd.user.sessionVariables = {
# TODO user `gpgconf --list-dirs agent-ssh-socket`