dotfiles/modules/services/keybase.nix

19 lines
376 B
Nix

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