user-interface: Import Emacs setup
1 file changed, 21 insertions(+), 0 deletions(-)
changed files
M modules/user-interface.nix → modules/user-interface.nix
@@ -1,5 +1,9 @@ { config, pkgs, ... }: +let + pkgsUnstable = import <nixos-unstable> {}; + # pkgsUnstable = pkgs; +in { # programs.browserpass.enable = true; programs.info.enable = true;@@ -29,6 +33,23 @@ conf = builtins.readFile ../config/st-config.h; }; services.devmon.enable = true; + + services.emacs = { + enable = true; + defaultEditor = true; + package = import ./emacs.nix { + inherit (pkgs) stdenv; + pkgs = pkgsUnstable; + emacs = pkgs.lib.overrideDerivation (pkgs.emacs.override { + withGTK2 = false; + withGTK3 = true; + }) (attrs: { + postInstall = attrs.postInstall + '' + rm $out/share/applications/emacs.desktop + ''; + }); + }; + }; services.redshift = { enable = true;