summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-17 22:27:40 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-17 22:27:40 +0530
commit0291edd8873549027648faef2579ea3f1ca8a07d (patch)
treec037ad62bcaf40545a1eaac7a2c28662e2b8ea0a /home
parentbe3de7417ec2f11aabc080a7d69b93437bf96fb7 (diff)
home/common/shell: init
Diffstat (limited to 'home')
-rw-r--r--home/common/home.nix1
-rw-r--r--home/common/modules/shell.nix12
2 files changed, 13 insertions, 0 deletions
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";
+ };
+ };
+}