From e4168143744f887c652e52f3437d35cb8e16b555 Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Thu, 28 Mar 2024 12:17:49 -0800 Subject: [PATCH] separate shell config into separate file --- home.nix | 7 +------ modules/shell.nix | 9 +++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 modules/shell.nix diff --git a/home.nix b/home.nix index d55a15e..9462964 100644 --- a/home.nix +++ b/home.nix @@ -4,6 +4,7 @@ with lib.hm.gvariant; { imports = [ ./modules/dconf.nix + ./modules/shell.nix ]; # Home Manager needs a bit of information about you and the # paths it should manage. @@ -89,12 +90,6 @@ with lib.hm.gvariant; programs.firefox = { enable = true; }; - programs.bash = { - enable = true; - initExtra = '' - export EDITOR=emacs\ -nw - ''; - }; # programs.gdb = { # enable = true; # }; diff --git a/modules/shell.nix b/modules/shell.nix new file mode 100644 index 0000000..90b486d --- /dev/null +++ b/modules/shell.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: +{ + programs.bash = { + enable = true; + initExtra = '' + export EDITOR=emacs\ -nw + ''; + }; +}