Add keybase and kbfs

This commit is contained in:
Dave Gallant
2020-06-13 20:31:40 -04:00
parent e5ca3d841b
commit acf8681cf4
4 changed files with 280 additions and 249 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
p='sxhkd stalonetray lemonbar' p='compton sxhkd stalonetray lemonbar'
for i in $p; do pkill "$i"; done for i in $p; do pkill "$i"; done
sxhkd & sxhkd &

View File

@@ -3,16 +3,19 @@
{ {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.username = "dgallant"; home = {
home.homeDirectory = "/home/dgallant"; username = "dgallant";
home.stateVersion = "20.09"; homeDirectory = "/home/dgallant";
home.sessionVariables.LOCALES_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; stateVersion = "20.09";
sessionVariables = {
home.packages = with pkgs; [ EDITOR= "vim";
LOCALE = "en_US.UTF8";
LOCALES_ARCHIVE = ["${pkgs.glibcLocales}/lib/locale/locale-archive"];
};
packages = with pkgs; [
awscli2 awscli2
bandwhich bandwhich
bat bat
black
chromium chromium
direnv direnv
exa exa
@@ -29,14 +32,16 @@
htop htop
jdk jdk
jq jq
kbfs
keybase
keybase-gui
nmap nmap
openvpn openvpn
pavucontrol pavucontrol
postman postman
python38 python38
rfd pinentry-curses
ripgrep ripgrep
rtv
rustup rustup
shellcheck shellcheck
shfmt shfmt
@@ -56,6 +61,12 @@
zip zip
zsh-fast-syntax-highlighting zsh-fast-syntax-highlighting
# python packages
black
python38Packages.ipython
rfd
rtv
# fonts # fonts
aileron aileron
comfortaa comfortaa
@@ -78,10 +89,32 @@
libre-caslon libre-caslon
libre-franklin libre-franklin
]; ];
};
services = {
gpg-agent = {
enable = true;
defaultCacheTtl = 3600;
defaultCacheTtlSsh = 3600;
enableSshSupport = true;
extraConfig = ''
pinentry-program ${pkgs.pinentry-curses}/bin/pinentry
'';
};
keybase.enable = true;
kbfs.enable = true;
};
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
programs.zsh = { programs = {
firefox.enable = true;
zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
history.size = 1000000; history.size = 1000000;
@@ -91,7 +124,6 @@
}; };
initExtra = '' initExtra = ''
export EDITOR='neovim'
export GOPATH=$HOME/go export GOPATH=$HOME/go
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
@@ -123,10 +155,9 @@
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions"; src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
} }
]; ];
}; };
programs.neovim = { neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
@@ -264,4 +295,5 @@
let g:syntastic_check_on_wq = 0 let g:syntastic_check_on_wq = 0
''; '';
}; };
};
} }

View File

@@ -1,9 +1,9 @@
self: super: self: super:
rec { rec {
python3 = with super; super.python3.override {}; python38 = with super; super.python38.override {};
pythonPackages = python3.pkgs; pythonPackages = python38.pkgs;
rfd = with self; pythonPackages.buildPythonApplication rec { rfd = with self; pythonPackages.buildPythonApplication rec {
pname = "rfd"; pname = "rfd";

View File

@@ -1 +0,0 @@
pinentry-program /usr/bin/pinentry-curses