switch keybase to home-manager

fixing issues with keybase running in the background and keybase gui
This commit is contained in:
Noah Masur 2024-01-05 23:31:53 -05:00
parent a8b07cc365
commit d25b189952

View File

@ -4,20 +4,17 @@
config = lib.mkIf config.keybase.enable { config = lib.mkIf config.keybase.enable {
services.keybase.enable = true; home-manager.users.${config.user} = lib.mkIf config.keybase.enable {
services.kbfs = {
enable = true; services.keybase.enable = true;
# enableRedirector = true; services.kbfs = {
mountPoint = "/run/user/1000/keybase/kbfs"; enable = true;
}; mountPoint = "keybase";
security.wrappers.keybase-redirector = { };
setuid = true;
owner = "root"; # https://github.com/nix-community/home-manager/issues/4722
group = "root"; systemd.user.services.kbfs.Service.PrivateTmp = lib.mkForce false;
source = "${pkgs.kbfs}/bin/redirector";
};
home-manager.users.${config.user} = {
home.packages = [ (lib.mkIf config.gui.enable pkgs.keybase-gui) ]; home.packages = [ (lib.mkIf config.gui.enable pkgs.keybase-gui) ];
home.file = let home.file = let
ignorePatterns = '' ignorePatterns = ''