mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-15 04:37:21 +00:00
add java, other programs added
This commit is contained in:
parent
6e9f16585a
commit
2814044d9f
3 changed files with 17 additions and 3 deletions
2
home.nix
2
home.nix
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
14
programs.nix
14
programs.nix
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue