From 0291edd8873549027648faef2579ea3f1ca8a07d Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 17 Jun 2024 22:27:40 +0530 Subject: home/common/shell: init --- home/common/home.nix | 1 + home/common/modules/shell.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 home/common/modules/shell.nix (limited to 'home') diff --git a/home/common/home.nix b/home/common/home.nix index 13cbff5..08399b5 100644 --- a/home/common/home.nix +++ b/home/common/home.nix @@ -3,6 +3,7 @@ in { imports = [ ./modules/git.nix + ./modules/shell.nix ./modules/mimeapps.nix ]; diff --git a/home/common/modules/shell.nix b/home/common/modules/shell.nix new file mode 100644 index 0000000..c1b31fd --- /dev/null +++ b/home/common/modules/shell.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: { + programs.bash.enable = true; + + home = { + packages = with pkgs; [ neovim ]; + + sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; + }; +} -- cgit v1.2.3