nixos/slimserver: allow only ipv4 (#465619)

This commit is contained in:
Adam C. Stephens
2025-12-02 17:00:42 +00:00
committed by GitHub
@@ -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"
];
};
};