mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +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
4
home.nix
4
home.nix
|
@ -14,7 +14,7 @@ rec {
|
|||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
|
@ -41,7 +41,7 @@ rec {
|
|||
source = pkgs.writeTextFile {
|
||||
name = "gpg-agent-conf";
|
||||
text = ''
|
||||
pinentry-program ${pkgs.pinentry_mac.out}/${pkgs.pinentry_mac.binaryPath}
|
||||
pinentry-program pinentry-mac
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -39,6 +39,8 @@ let
|
|||
plantuml
|
||||
rnix-lsp
|
||||
clang-tools
|
||||
graphviz
|
||||
nixfmt
|
||||
texlive.combined.scheme-full
|
||||
];
|
||||
|
||||
|
|
14
programs.nix
14
programs.nix
|
@ -17,6 +17,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
java = {
|
||||
enable = true;
|
||||
package = pkgs.jdk;
|
||||
};
|
||||
|
||||
home-manager.enable = true;
|
||||
|
||||
git = {
|
||||
|
@ -35,7 +40,7 @@
|
|||
userEmail = "willem@leit.so";
|
||||
};
|
||||
|
||||
emacs.enable = true;
|
||||
#emacs = import ./emacs.nix { inherit lib config pkgs isDarwin homeDir; };
|
||||
|
||||
zoxide = {
|
||||
enable = true;
|
||||
|
@ -54,6 +59,7 @@
|
|||
enableVteIntegration = true;
|
||||
autocd = true;
|
||||
defaultKeymap = "emacs";
|
||||
envExtra = "export PATH=${pkgs.pinentry_mac.out}/Applications/pinentry-mac.app/Contents/MacOS:$PATH";
|
||||
dirHashes = {
|
||||
docs = "$HOME/Documents";
|
||||
appsup = "$HOME/Library/Application Support";
|
||||
|
@ -66,6 +72,12 @@
|
|||
extended = true;
|
||||
ignoreDups = true;
|
||||
};
|
||||
shellAliases = {
|
||||
em = "emacsclient -c";
|
||||
emt = "emacsclient -c -nw";
|
||||
np = "nix-shell -p";
|
||||
hms = "home-manager switch";
|
||||
};
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "powerlevel10k";
|
||||
|
|
Loading…
Add table
Reference in a new issue