From e6e646e35e304b05a532bb1f98816513198c3a74 Mon Sep 17 00:00:00 2001 From: Matthew Ess Date: Sun, 5 Jan 2020 04:53:17 -0500 Subject: [PATCH] Slight tweaks --- cachix/pynchon.nix | 12 ++++++++++++ configuration.nix | 3 ++- home.nix | 8 +++++++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 cachix/pynchon.nix diff --git a/cachix/pynchon.nix b/cachix/pynchon.nix new file mode 100644 index 0000000..6b9c410 --- /dev/null +++ b/cachix/pynchon.nix @@ -0,0 +1,12 @@ + +{ + nix = { + binaryCaches = [ + "https://pynchon.cachix.org" + ]; + binaryCachePublicKeys = [ + "pynchon.cachix.org-1:9Cj9t6FxSOQKMkjdd12Q2n7djp8CYBx+J2bIwzwaW+8=" + ]; + }; +} + \ No newline at end of file diff --git a/configuration.nix b/configuration.nix index c40dd89..bb053b3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -176,7 +176,8 @@ nix = { binaryCaches = [ "https://hydra.iohk.io" ]; - binaryCachePublicKeys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; + binaryCachePublicKeys = + [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; }; # This value determines the NixOS release with which your system is to be diff --git a/home.nix b/home.nix index 406b9d5..ad8e74b 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,8 @@ let workEmail = "mess@yelp.com"; lockCmd = "i3lock -i ~/.lockscreen-image"; niv = (import (builtins.fetchTarball { - url = "https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7"; + url = + "https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7"; sha256 = "0b38n1ad00s1qqyw3ml3pypf8i1pw4aqw0bpa02qq9iv7sp3x0gz"; }) { }).niv; @@ -25,6 +26,7 @@ in { nix-prefetch-git # command line utilities ag + fzy jq tldr imagemagick @@ -170,6 +172,7 @@ in { alias upgrade="sudo nixos-rebuild switch --upgrade" alias clip="xclip -selection c" alias cxuse="sudo cachix use -d ~/dotfiles.nix" + alias cxpsh="nix build -f shell.nix; nix-store -qR --include-outputs (nix-instantiate shell.nix) | cachix push" ''; }; git = { @@ -213,6 +216,9 @@ in { cmap w!! w !sudo tee >/dev/null % set ww=<,>,[,] "wrap + "terminal exit + tnoremap :q! + colorscheme Tomorrow-Night-Eighties "lightline options let g:lightline = {'colorscheme': 'jellybeans'}