Unverified Commit e36a99c8 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

nixos/slimserver: allow only ipv4 (#465619)

parents 128ca778 09ad882c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -52,6 +52,11 @@ in
        User = "slimserver";
        # Issue 40589: Disable broken image/video support (audio still works!)
        ExecStart = "${lib.getExe cfg.package} --logdir ${cfg.dataDir}/logs --prefsdir ${cfg.dataDir}/prefs --cachedir ${cfg.dataDir}/cache --noimage --novideo";
        # Allow only IPv4 since slimserver breaks with IPv6
        RestrictAddressFamilies = [
          "AF_INET"
          "AF_UNIX"
        ];
      };
    };