diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 266ed7f..7313463 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -207,6 +207,17 @@ owner = "root"; group = "wheel"; }; + # Required while kbfs service doesn't work automatically + systemd.user.services.kbfsfuse = { + description = "Keybase File System - KBFS"; + after = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + ExecStart = "${pkgs.kbfs}/bin/kbfsfuse"; + Restart = "on-abnormal"; + Environment = [ "PATH=/run/wrappers/bin/:$PATH" ]; + }; + }; # Some programs need SUID wrappers, can be configured further or are # started in user sessions.