diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-05-07 13:05:00 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-05-07 13:05:00 +0000 |
commit | 199fc8816a6660627fd4b684ba078e9969ce33c7 (patch) | |
tree | c1cbf3f24f750d9718da61ee166c095a341995ad /modules | |
parent | 3b58f5acaa3d096ba7cd2e57eb16877c0b857e44 (diff) | |
download | nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar.gz nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar.bz2 nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar.lz nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar.xz nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.tar.zst nixlib-199fc8816a6660627fd4b684ba078e9969ce33c7.zip |
modules/emacs: init
Diffstat (limited to 'modules')
-rw-r--r-- | modules/workstation/default.nix | 2 | ||||
-rw-r--r-- | modules/workstation/emacs/default.el | 0 | ||||
-rw-r--r-- | modules/workstation/emacs/default.nix | 14 |
3 files changed, 15 insertions, 1 deletions
diff --git a/modules/workstation/default.nix b/modules/workstation/default.nix index 64ff0b1c1cbf..3f4e3f1c8ce7 100644 --- a/modules/workstation/default.nix +++ b/modules/workstation/default.nix @@ -4,7 +4,7 @@ imports = [ ../nix ../shell ../users ../ssh ./documentation ./windowing ./fonts ./hardware ./locale - ./dict ./dino ./gnupg ./lorri ./mail ./podman ./weechat + ./dict ./dino ./emacs ./gnupg ./lorri ./mail ./podman ./weechat ]; environment.systemPackages = with pkgs; [ mosh mpv youtube-dl ]; diff --git a/modules/workstation/emacs/default.el b/modules/workstation/emacs/default.el new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/modules/workstation/emacs/default.el diff --git a/modules/workstation/emacs/default.nix b/modules/workstation/emacs/default.nix new file mode 100644 index 000000000000..a0432bd25ba5 --- /dev/null +++ b/modules/workstation/emacs/default.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + (emacsWithPackages (epkgs: [ + (runCommandNoCC "default.el" {} '' + mkdir -p $out/share/emacs/site-lisp + cp ${./default.el} $out/share/emacs/site-lisp/default.el + '') + ] ++ (with epkgs; [ + magit + ]))) + ]; +} |