Unverified Commit e4cdf3a3 authored by Luflosi's avatar Luflosi
Browse files

nixos/kubo: only set programs.fuse.userAllowOther if required

If `services.kubo.settings.Mounts.FuseAllowOther` is set to `false`, we don't need to set `programs.fuse.userAllowOther` to `true`.
parent c327578e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -339,7 +339,7 @@ in
    boot.kernel.sysctl."net.core.rmem_max" = lib.mkDefault 2500000;
    boot.kernel.sysctl."net.core.wmem_max" = lib.mkDefault 2500000;

    programs.fuse = lib.mkIf cfg.autoMount {
    programs.fuse = lib.mkIf (cfg.autoMount && cfg.settings.Mounts.FuseAllowOther) {
      userAllowOther = true;
    };