refactor(bash): move bash home-manager config to modules/home-sh.nix
This commit is contained in:
parent
09d9eb1d22
commit
db0a421bc5
2 changed files with 10 additions and 6 deletions
9
modules/home-sh.nix
Normal file
9
modules/home-sh.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch --flake";
|
||||
gs = "git status";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
../../modules/home-git.nix
|
||||
../../modules/home-tmux.nix
|
||||
../../modules/home-sh.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -19,12 +20,6 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch --flake";
|
||||
};
|
||||
};
|
||||
tealdeer = {
|
||||
enable = true;
|
||||
enableAutoUpdates = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue