about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-08 17:39:48 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-08 17:39:48 +0200
commita3cb5cdb5e9401a21d81ff92786272f5a19babc8 (patch)
tree3418858ae32fa04c2e22c2fbbe28e1c79f6c6604 /hosts
parentUpdate (diff)
downloadnixos-config-a3cb5cdb5e9401a21d81ff92786272f5a19babc8.tar.gz
nixos-config-a3cb5cdb5e9401a21d81ff92786272f5a19babc8.tar.bz2
nixos-config-a3cb5cdb5e9401a21d81ff92786272f5a19babc8.zip
Emacs: Initial config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/home.nix23
1 files changed, 21 insertions, 2 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index 476afb0..5fb9f4f 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -87,7 +87,26 @@ in
       };
     };
 
-    emacs.enable = true;
+    emacs = {
+      enable = true;
+      extraPackages = epkgs: with epkgs; [
+        use-package
+
+        evil
+        evil-collection
+
+        doom-modeline
+        dashboard
+
+        nix-mode
+        haskell-mode
+        typescript-mode
+        jq-mode
+
+        doom-themes
+      ];
+      extraConfig = builtins.readFile (dotfiles + "/.emacs");
+    };
 
     firefox = {
       enable = true;
@@ -203,7 +222,7 @@ in
 
   home.file = {
     ".xinitrc".source = dotfiles + "/.xinitrc";
-    ".Xresources".source = dotfiles + "//.Xresources/";
+    ".Xresources".source = dotfiles + "/.Xresources/";
 
     ".scripts/".source = dotfiles + "/scripts/";
   };