mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 02:52:55 +00:00
switch keybase to home-manager
fixing issues with keybase running in the background and keybase gui
This commit is contained in:
parent
a8b07cc365
commit
d25b189952
@ -4,20 +4,17 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.keybase.enable {
|
config = lib.mkIf config.keybase.enable {
|
||||||
|
|
||||||
|
home-manager.users.${config.user} = lib.mkIf config.keybase.enable {
|
||||||
|
|
||||||
services.keybase.enable = true;
|
services.keybase.enable = true;
|
||||||
services.kbfs = {
|
services.kbfs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# enableRedirector = true;
|
mountPoint = "keybase";
|
||||||
mountPoint = "/run/user/1000/keybase/kbfs";
|
|
||||||
};
|
|
||||||
security.wrappers.keybase-redirector = {
|
|
||||||
setuid = true;
|
|
||||||
owner = "root";
|
|
||||||
group = "root";
|
|
||||||
source = "${pkgs.kbfs}/bin/redirector";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${config.user} = {
|
# https://github.com/nix-community/home-manager/issues/4722
|
||||||
|
systemd.user.services.kbfs.Service.PrivateTmp = lib.mkForce false;
|
||||||
|
|
||||||
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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user