diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-24 13:35:18 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-24 13:35:18 +0530 |
| commit | 701cbf5a03a73dd1d06ec65f20750bcb041df555 (patch) | |
| tree | d71fb362c3429a4ff95a710fcebf100cd902b9a1 /home.nix | |
| parent | 865728068c965e066d0f8971c5b5ba26e12e7dce (diff) | |
| download | nixos-config-701cbf5a03a73dd1d06ec65f20750bcb041df555.tar.gz nixos-config-701cbf5a03a73dd1d06ec65f20750bcb041df555.zip | |
Moves some applications and config to homenix
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 66 |
1 files changed, 59 insertions, 7 deletions
@@ -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 = { |
