Slight tweaks

work
Matthew Ess 2020-01-05 04:53:17 -05:00
parent b998aed948
commit e6e646e35e
3 changed files with 21 additions and 2 deletions

12
cachix/pynchon.nix Normal file
View File

@ -0,0 +1,12 @@
{
nix = {
binaryCaches = [
"https://pynchon.cachix.org"
];
binaryCachePublicKeys = [
"pynchon.cachix.org-1:9Cj9t6FxSOQKMkjdd12Q2n7djp8CYBx+J2bIwzwaW+8="
];
};
}

View File

@ -176,7 +176,8 @@
nix = { nix = {
binaryCaches = [ "https://hydra.iohk.io" ]; 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 # This value determines the NixOS release with which your system is to be

View File

@ -6,7 +6,8 @@ let
workEmail = "mess@yelp.com"; workEmail = "mess@yelp.com";
lockCmd = "i3lock -i ~/.lockscreen-image"; lockCmd = "i3lock -i ~/.lockscreen-image";
niv = (import (builtins.fetchTarball { niv = (import (builtins.fetchTarball {
url = "https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7"; url =
"https://github.com/nmattia/niv/tarball/abd0de3269fd712955d27b70e32921841c7b8bb7";
sha256 = "0b38n1ad00s1qqyw3ml3pypf8i1pw4aqw0bpa02qq9iv7sp3x0gz"; sha256 = "0b38n1ad00s1qqyw3ml3pypf8i1pw4aqw0bpa02qq9iv7sp3x0gz";
}) { }).niv; }) { }).niv;
@ -25,6 +26,7 @@ in {
nix-prefetch-git nix-prefetch-git
# command line utilities # command line utilities
ag ag
fzy
jq jq
tldr tldr
imagemagick imagemagick
@ -170,6 +172,7 @@ in {
alias upgrade="sudo nixos-rebuild switch --upgrade" alias upgrade="sudo nixos-rebuild switch --upgrade"
alias clip="xclip -selection c" alias clip="xclip -selection c"
alias cxuse="sudo cachix use -d ~/dotfiles.nix" 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 = { git = {
@ -213,6 +216,9 @@ in {
cmap w!! w !sudo tee >/dev/null % cmap w!! w !sudo tee >/dev/null %
set ww=<,>,[,] "wrap set ww=<,>,[,] "wrap
"terminal exit
tnoremap <Esc> <C-\><C-n>:q!<CR>
colorscheme Tomorrow-Night-Eighties colorscheme Tomorrow-Night-Eighties
"lightline options "lightline options
let g:lightline = {'colorscheme': 'jellybeans'} let g:lightline = {'colorscheme': 'jellybeans'}