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
p='sxhkd stalonetray lemonbar'
p='compton sxhkd stalonetray lemonbar'
for i in $p; do pkill "$i"; done
sxhkd &

View File

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

View File

@@ -1,9 +1,9 @@
self: super:
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 {
pname = "rfd";

View File

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