Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
Nix: some fiddling with home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciencentistguy committed Jan 20, 2022
1 parent 6d63245 commit 97bce68
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions nix-environment/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ in
"discord"
"firefox"
"gitkraken"
"ghidra"
"google-drive"
"keybase"
"multimc"
Expand Down Expand Up @@ -122,6 +123,41 @@ in
lsa = "exa -lhgbHma --git";
lsat = "exa -lhgbHmaT --git";
};
programs.zsh.completionInit = "autoload -U compinit && compinit -C";
programs.zsh.initExtraBeforeCompInit = "ZSH_DISABLE_COMPFIX=true";

programs.zsh.oh-my-zsh.enable = true;
programs.zsh.oh-my-zsh.plugins = [
"globalias"
"git"
"you-should-use"
] ++ lib.optional (!pkgs.stdenv.isDarwin) [ "archlinux" ];

programs.zsh.plugins = [
{
name = "zsh-vim-mode";
src = pkgs.fetchFromGitHub {
owner = "softmoth";
repo = "zsh-vim-mode";
rev = "1f9953b7d6f2f0a8d2cb8e8977baa48278a31eab";
sha256 = "sha256-a+6EWMRY1c1HQpNtJf5InCzU7/RphZjimLdXIXbO6cQ";
};
}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.4.0";
sha256 = "037wz9fqmx0ngcwl9az55fgkipb745rymznxnssr3rx9irb6apzg";
};
}
];
#name = "globalias";
#src = builtins.fetchurl "https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/globalias/globalias.plugin.zsh";
#file = "globalias.plugin.zsh";
#}];

programs.starship.package = custompkgs.starship;
programs.starship.enable = true;
Expand Down Expand Up @@ -195,6 +231,8 @@ in
pkgs.fzf

custompkgs.starship

pkgs.python3
];

programs.bat.enable = true;
Expand Down

0 comments on commit 97bce68

Please sign in to comment.