From db2758d0fcb11bd1dd6cc7d763ea536f5f2ce734 Mon Sep 17 00:00:00 2001 From: xezo360hye Date: Fri, 16 Aug 2024 01:44:14 +0300 Subject: [PATCH] feat(home): add emacs, enable it for maidena host --- home/common.nix | 7 ++++--- home/maidena.nix | 4 ++-- home/modules/emacs/default.nix | 17 +++++++++++++++++ 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 home/modules/emacs/default.nix diff --git a/home/common.nix b/home/common.nix index 0cbffc3..892f4a4 100644 --- a/home/common.nix +++ b/home/common.nix @@ -1,9 +1,10 @@ { pkgs, ... }: { imports = [ - ./modules/nethack/default.nix - ./modules/firefox/default.nix - ./modules/neovim/default.nix + ./modules/nethack + ./modules/firefox + ./modules/neovim + ./modules/emacs ]; programs = { diff --git a/home/maidena.nix b/home/maidena.nix index a539331..1cd7d85 100644 --- a/home/maidena.nix +++ b/home/maidena.nix @@ -1,6 +1,6 @@ { imports = [ - ./modules/hyprland/default.nix - ./modules/plasma/default.nix + ./modules/hyprland + ./modules/plasma ]; } diff --git a/home/modules/emacs/default.nix b/home/modules/emacs/default.nix new file mode 100644 index 0000000..0a65995 --- /dev/null +++ b/home/modules/emacs/default.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: +{ + programs.emacs = { + enable = true; + package = pkgs.emacs-gtk; + extraPackages = epkgs: with epkgs; [ + doom + + magit + minimap + rainbow-delimiters + + company + company-tabnine + ]; + }; +}