From 10529def347dc8777891e26414337b0122d76f6e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 11 Nov 2021 14:32:48 +0059 Subject: gkleen@sif: ... --- accounts/gkleen@sif/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index cfeea290..cacdd98e 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -264,7 +264,10 @@ in { ]; file = { - ".emacs".source = ./emacs.el; + ".emacs" = { + source = ./emacs.el; + onChange = "${pkgs.systemd}/bin/systemctl --user try-restart emacs.service"; + }; ".backup-munin".source = ./backup-patterns; ".mozilla/firefox/default/chrome/userChrome.css".source = ./firefox-chrome.css; ".mozilla/firefox/default/chrome/userContent.css".source = ./firefox-content.css; -- cgit v1.2.3