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 = [
|
imports = [
|
||||||
../../modules/home-git.nix
|
../../modules/home-git.nix
|
||||||
../../modules/home-tmux.nix
|
../../modules/home-tmux.nix
|
||||||
|
../../modules/home-sh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
@ -19,12 +20,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash = {
|
|
||||||
enable = true;
|
|
||||||
shellAliases = {
|
|
||||||
rebuild = "sudo nixos-rebuild switch --flake";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
tealdeer = {
|
tealdeer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutoUpdates = true;
|
enableAutoUpdates = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue