Update ~8/26/24
This commit is contained in:
20
user/shell/bash.nix
Normal file
20
user/shell/bash.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
lsCmd = "eza -la --git -s type";
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
bash
|
||||
];
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
search-pkg = "nix search -I nixpkgs=flake:nixpkgs nixpkgs";
|
||||
newpkg = "bash ~/.dotfiles/newpkg.sh";
|
||||
rebuild = "sudo nixos-rebuild switch --flake '.#system'";
|
||||
l = lsCmd;
|
||||
ls = lsCmd;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user