separate shell config into separate file

This commit is contained in:
Miranda Marquez 2024-03-28 12:17:49 -08:00
parent 9faffed04b
commit e416814374
2 changed files with 10 additions and 6 deletions

View File

@ -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;
# };

9
modules/shell.nix Normal file
View File

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
programs.bash = {
enable = true;
initExtra = ''
export EDITOR=emacs\ -nw
'';
};
}