summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-07-12 15:47:27 +0200
committerAlan Pearce2018-07-12 15:47:27 +0200
commit47919612a7dd30afce680e91384c791379023685 (patch)
treef037a57c8f2bc2c4fb9992e4fc865f4b771218aa /modules
parentcf7f46b1b1d99ebb67c0a183e266937bdc39596d (diff)
downloadnixos-configuration-47919612a7dd30afce680e91384c791379023685.tar.lz
nixos-configuration-47919612a7dd30afce680e91384c791379023685.tar.zst
nixos-configuration-47919612a7dd30afce680e91384c791379023685.zip
Simplify emacs configuation to make stable/unstable use easier
Diffstat (limited to 'modules')
-rw-r--r--modules/user-interface.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index 5b52e7f..ca9d595 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -2,13 +2,7 @@
 
 let
   emacsPackage = import ../packages/emacs.nix {
-    inherit (pkgs) stdenv;
-    inherit pkgs;
-    emacs = pkgs.lib.overrideDerivation (pkgs.emacs) (attrs: {
-        postInstall = attrs.postInstall + ''
-          rm $out/share/applications/emacs.desktop
-        '';
-      });
+    pkgs = pkgs.unstable;
   };
 in
 { programs.browserpass.enable = true;