Extracting some secrets, cleaning up some aliases, etc.

master
Dustin Swan 4 years ago
parent b59f50c7db
commit 3f57805a35

1
.gitignore vendored

@ -1 +1,2 @@
*.DS_Store *.DS_Store
secrets.nix

@ -1,6 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
let
secrets = import ./secrets.nix;
in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
ripgrep fd wget silver-searcher tree ranger nodejs yarn mosh w3m urlview nmap tuir gnupg youtube-dl nodePackages.tern nodePackages.eslint nodePackages.javascript-typescript-langserver ffmpeg ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es hexyl nnn entr httpie cacert catimg tldr ffsend du-dust duplicati python3 bitwarden-cli rage ripgrep fd wget silver-searcher tree ranger nodejs yarn mosh w3m urlview nmap tuir gnupg youtube-dl nodePackages.tern nodePackages.eslint nodePackages.javascript-typescript-langserver ffmpeg ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es hexyl nnn entr httpie cacert catimg tldr ffsend du-dust duplicati python3 bitwarden-cli rage
]; ];
@ -8,7 +12,7 @@
home.sessionVariables = { home.sessionVariables = {
EDITOR = "vim"; EDITOR = "vim";
MANPAGER = "sh -c 'col -bx | bat -l man -p'"; MANPAGER = "sh -c 'col -bx | bat -l man -p'";
PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin:${builtins.getEnv "HOME"}/.radicle/bin"; PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin:${builtins.getEnv "HOME"}/.radicle/bin:${builtins.getEnv "HOME"}/.cargo/bin";
P4USER = "dswan"; P4USER = "dswan";
P4PORT = "humu.iocom.com:1666"; P4PORT = "humu.iocom.com:1666";
@ -104,13 +108,19 @@
enable = true; enable = true;
matchBlocks = { matchBlocks = {
dustinswan = { dustinswan = {
hostname = "dustinswan.com"; inherit (secrets.dustinswan) user;
user = "dustinswan"; inherit (secrets.dustinswan) hostname;
}; };
dswan = { dswan = {
hostname = "dswan.iocom.com"; inherit (secrets.dswan) user;
user = "centos"; inherit (secrets.dswan) hostname;
};
aws = {
inherit (secrets.visionable-aws) user;
inherit (secrets.visionable-aws) hostname;
identityFile = "/Users/dustinswan/.ssh/id_rsa";
}; };
}; };
}; };
@ -124,8 +134,6 @@
key = "AD11750151C10881970BD943AB49BD6B2B3A6377"; key = "AD11750151C10881970BD943AB49BD6B2B3A6377";
}; };
aliases = { aliases = {
s = "status";
a = "add";
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"; lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit";
}; };
}; };
@ -171,6 +179,8 @@
let g:airline#extensions#ale#enabled = 1 let g:airline#extensions#ale#enabled = 1
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
" let g:ale_fixers = {'php': ['php-cs-fixer']}
let g:nord_italic = 1 let g:nord_italic = 1
" let g:nord_italic_comments = 1 " let g:nord_italic_comments = 1
let g:nord_underline = 1 let g:nord_underline = 1

Loading…
Cancel
Save