added shell stuff

This commit is contained in:
John Lancaster
2025-06-30 20:21:20 -05:00
parent f829f82885
commit c954124c13
3 changed files with 22 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
./options.nix ./options.nix
./home.nix ./home.nix
./git.nix ./git.nix
./shell.nix
]; ];
}; };
}; };

View File

@@ -21,9 +21,11 @@
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# pkgs.hello # pkgs.hello
uv
git git
gh
eza eza
gdu
uv
(writeShellScriptBin "nhmu" '' (writeShellScriptBin "nhmu" ''
nix flake update --flake ~/.config/home-manager nix flake update --flake ~/.config/home-manager
nix run home-manager -- switch --flake ~/.config/home-manager nix run home-manager -- switch --flake ~/.config/home-manager

18
shell.nix Normal file
View File

@@ -0,0 +1,18 @@
{ lib, pkgs, ... }:
{
home.shell.enableZshIntegration = true;
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
theme = "risto";
plugins = [
"sudo"
"dotenv"
"git"
"ssh"
"ssh-agent"
];
};
shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time";
};