This commit is contained in:
2025-08-19 02:01:17 -05:00
parent 2900d39f2d
commit a521301818
4 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }: {
home.packages = with pkgs; [ oh-my-posh ];
programs.bash = {
enable = true;
enableCompletion = true;
blesh.enable = true;
shellAliases = {
ls = "eza";
ll = "ls -l";
ksh = "kitten ssh";
vi = "nvim";
vim = "nvim";
};
initContent = if config.homeconfig.wal.enable then (lib.mkBefore ''
cat ${config.home.homeDirectory}/.cache/wal/sequences
eval "$(oh-my-posh init bash --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
'') else (lib.mkBefore ''
eval "$(oh-my-posh init bash --config ${config.home.homeDirectory}/.config/ohmyposh/ohmyposh.toml)"
'');
};
}

View File

@@ -2,6 +2,7 @@
imports = [
./bat
./bash
./eza
./fzf
./tmux

View File

@@ -7,7 +7,7 @@
./dotfiles
];
config = lib.mkIf (config.homeconfig.username == "nathan") {
config = {
homeconfig = {
mpd.enable = lib.mkDefault true;