summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/user-interface.nix5
-rw-r--r--satoshipad.nix2
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index cba0a27..e8596be 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -35,6 +35,9 @@ in
   documentation.info.enable = true;
   nixpkgs.config.firefox.enableOfficialBranding = true;
 
+  nixpkgs.config.packageOverrides = pkgs: {
+    myEmacs = emacsPackage;
+  };
   environment.systemPackages = with pkgs; [
     aria2
     firefox
@@ -44,7 +47,7 @@ in
     geeqie
 
     fish # for emacs-fish-completion
-    emacsPackage
+    myEmacs
     editorScript
 
     xst # st, but with support for XResources
diff --git a/satoshipad.nix b/satoshipad.nix
index 15fc126..86123e1 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -54,7 +54,7 @@
     serviceConfig = {
       Type = "oneshot";
       ExecStart = "${pkgs.isync}/bin/mbsync -Va";
-      ExecStartPost = "${pkgs.unstable.emacs}/bin/emacsclient -e (mu4e-update-index)";
+      ExecStartPost = "${pkgs.myEmacs}/bin/emacsclient -e (mu4e-update-index)";
     };
   };