dotfiles/modules/services/keybase.nix
2022-04-30 12:07:58 -04:00

19 lines
396 B
Nix

{ pkgs, lib, identity, gui, ... }: {
services.keybase.enable = true;
services.kbfs.enable = true;
home-manager.users.${identity.user} = {
home.packages = [ (lib.mkIf gui.enable pkgs.keybase-gui) ];
home.file = let
ignorePatterns = ''
keybase/
kbfs/'';
in {
".rgignore".text = ignorePatterns;
".fdignore".text = ignorePatterns;
};
};
}