From 23d178b2a2c3fab67db4de616ecb96b813cedfae Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 24 Apr 2022 13:30:01 -0400 Subject: [PATCH] temp fix for kbfs --- nixos/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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.