Merge pull request #539 from genebean/mightymac

add btop & Zellij everywhere, but don't automatically use Zellij
This commit is contained in:
Gene Liverman 2025-08-19 12:00:39 -04:00 committed by GitHub
commit 1b93457256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 25 deletions

View file

@ -7,6 +7,7 @@
else "libsqlite3.so";
in {
home.packages = with pkgs; [
btop
bundix
cargo
cheat
@ -255,6 +256,10 @@ in {
let g:airline_powerline_fonts = 1
'';
};
zellij = {
enable = true;
enableZshIntegration = false;
};
zsh = {
enable = true;
enableCompletion = true;

View file

@ -1,27 +1,29 @@
{ username, ... }: {
# dawrwin-specific shell config
programs.zsh = {
initContent = ''
function otpon() {
osascript -e 'tell application "yubiswitch" to KeyOn'
}
function otpoff() {
osascript -e 'tell application "yubiswitch" to KeyOff'
}
programs = {
zsh = {
initContent = ''
function otpon() {
osascript -e 'tell application "yubiswitch" to KeyOn'
}
function otpoff() {
osascript -e 'tell application "yubiswitch" to KeyOff'
}
# Include Puppet's normal bin folder since it is installed via Homebrew
export PATH=$PATH:/opt/puppetlabs/bin
export PATH=$PATH:/opt/puppetlabs/pdk/bin
export PATH=$PATH:/opt/puppetlabs/puppet/bin
'';
oh-my-zsh.plugins = [ "macos" ];
shellAliases = {
currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-";
nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && sudo darwin-rebuild build --flake . && nvd diff /run/current-system result";
nixup = "sudo darwin-rebuild switch --flake ~/repos/dots";
uwgconnect = "networksetup -setairportnetwork en0 SecureWest";
uwgforget = "networksetup -removepreferredwirelessnetwork en0 SecureWest";
ykey = "pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L";
# Include Puppet's normal bin folder since it is installed via Homebrew
export PATH=$PATH:/opt/puppetlabs/bin
export PATH=$PATH:/opt/puppetlabs/pdk/bin
export PATH=$PATH:/opt/puppetlabs/puppet/bin
'';
oh-my-zsh.plugins = [ "macos" ];
shellAliases = {
currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-";
nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && sudo darwin-rebuild build --flake . && nvd diff /run/current-system result";
nixup = "sudo darwin-rebuild switch --flake ~/repos/dots";
uwgconnect = "networksetup -setairportnetwork en0 SecureWest";
uwgforget = "networksetup -removepreferredwirelessnetwork en0 SecureWest";
ykey = "pkill -9 gpg-agent && source ~/.zshrc; ssh-add -L";
};
};
};

View file

@ -7,10 +7,6 @@
goPath = "go";
};
k9s.enable = true;
zellij = {
enable = true;
enableZshIntegration = true;
};
};
sops = {