separate shell config into separate file
This commit is contained in:
parent
9faffed04b
commit
e416814374
7
home.nix
7
home.nix
@ -4,6 +4,7 @@ with lib.hm.gvariant;
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/dconf.nix
|
./modules/dconf.nix
|
||||||
|
./modules/shell.nix
|
||||||
];
|
];
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
@ -89,12 +90,6 @@ with lib.hm.gvariant;
|
|||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
programs.bash = {
|
|
||||||
enable = true;
|
|
||||||
initExtra = ''
|
|
||||||
export EDITOR=emacs\ -nw
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
# programs.gdb = {
|
# programs.gdb = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# };
|
# };
|
||||||
|
9
modules/shell.nix
Normal file
9
modules/shell.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
initExtra = ''
|
||||||
|
export EDITOR=emacs\ -nw
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user