add java, other programs added

This commit is contained in:
willemml 2022-12-29 10:00:44 -08:00
parent 6e9f16585a
commit 2814044d9f
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
3 changed files with 17 additions and 3 deletions

View file

@ -41,7 +41,7 @@ rec {
source = pkgs.writeTextFile { source = pkgs.writeTextFile {
name = "gpg-agent-conf"; name = "gpg-agent-conf";
text = '' text = ''
pinentry-program ${pkgs.pinentry_mac.out}/${pkgs.pinentry_mac.binaryPath} pinentry-program pinentry-mac
''; '';
}; };
}; };

View file

@ -39,6 +39,8 @@ let
plantuml plantuml
rnix-lsp rnix-lsp
clang-tools clang-tools
graphviz
nixfmt
texlive.combined.scheme-full texlive.combined.scheme-full
]; ];

View file

@ -17,6 +17,11 @@
}; };
}; };
java = {
enable = true;
package = pkgs.jdk;
};
home-manager.enable = true; home-manager.enable = true;
git = { git = {
@ -35,7 +40,7 @@
userEmail = "willem@leit.so"; userEmail = "willem@leit.so";
}; };
emacs.enable = true; #emacs = import ./emacs.nix { inherit lib config pkgs isDarwin homeDir; };
zoxide = { zoxide = {
enable = true; enable = true;
@ -54,6 +59,7 @@
enableVteIntegration = true; enableVteIntegration = true;
autocd = true; autocd = true;
defaultKeymap = "emacs"; defaultKeymap = "emacs";
envExtra = "export PATH=${pkgs.pinentry_mac.out}/Applications/pinentry-mac.app/Contents/MacOS:$PATH";
dirHashes = { dirHashes = {
docs = "$HOME/Documents"; docs = "$HOME/Documents";
appsup = "$HOME/Library/Application Support"; appsup = "$HOME/Library/Application Support";
@ -66,6 +72,12 @@
extended = true; extended = true;
ignoreDups = true; ignoreDups = true;
}; };
shellAliases = {
em = "emacsclient -c";
emt = "emacsclient -c -nw";
np = "nix-shell -p";
hms = "home-manager switch";
};
plugins = with pkgs; [ plugins = with pkgs; [
{ {
name = "powerlevel10k"; name = "powerlevel10k";