aboutsummaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix66
1 files changed, 59 insertions, 7 deletions
diff --git a/home.nix b/home.nix
index 54cb494..908b367 100644
--- a/home.nix
+++ b/home.nix
@@ -2,19 +2,71 @@
let
localPkgs = import ./packages/default.nix { pkgs = pkgs; };
in {
- #home.packages = with pkgs; [
- #picom
- #];
+ imports = [ ./overlays-home.nix ];
+
+ home.packages = with pkgs; [
+ yarn
+ #pass
+ ];
+
+ programs.lsd = {
+ enable = true;
+ enableAliases = true;
+ };
+
+ programs.git = {
+ enable = true;
+ userEmail = "phenax5@gmail.com";
+ userName = "Akshay Nair";
+ ignores = [
+ "tags"
+ ".vim.session"
+ "tags.lock"
+ "tags.temp"
+ ];
+ aliases = {
+ ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi";
+ };
+ extraConfig = {
+ "color" = {
+ "ui" = true;
+ };
+ "color \"diff-highlight\"" = {
+ oldNormal = "red bold";
+ oldHighlight = "red bold 52";
+ newNormal = "green bold";
+ newHighlight = "green bold 22";
+ };
+ "color \"diff\"" = {
+ meta = 11;
+ frag = "magenta bold";
+ commit = "yellow bold";
+ old = "red bold";
+ new = "green bold";
+ whitespace = "red reverse";
+ };
+ };
+ #signing.key = "GPG-KEY-ID";
+ #signing.signByDefault = true;
+ };
+
+ programs.password-store = {
+ enable = true;
+ package = pkgs.pass.withExtensions(exts: [ exts.pass-otp ]);
+ settings = {
+ PASSWORD_STORE_DIR = "~/.config/password-store";
+ };
+ };
services.gpg-agent = {
enable = true;
maxCacheTtl = 864000;
defaultCacheTtl = 864000;
enableSshSupport = false;
- pinentryFlavor = null;
- extraConfig = ''
- pinentry-program ${localPkgs.anypinentry}/bin/anypinentry
- '';
+ #pinentryFlavor = null;
+ #extraConfig = ''
+ #pinentry-program /home/imsohexy/nixos/packages/anypinentry/source/anypinentry
+ #'';
};
home.file = {