diff --git a/systems/LoutreOS/medias.nix b/systems/LoutreOS/medias.nix index 6c3fa2b..080d54a 100644 --- a/systems/LoutreOS/medias.nix +++ b/systems/LoutreOS/medias.nix @@ -40,6 +40,8 @@ ImageCacheSize = 0; }; }; + + slimserver.enable = true; }; systemd.services.transmission.serviceConfig = { @@ -56,28 +58,4 @@ config.services.transmission.settings.peer-port ]; }; - - virtualisation = { - podman.autoPrune.enable = true; - oci-containers = { - backend = "podman"; - containers = { - slimserver = { - image = "docker.io/lmscommunity/logitechmediaserver:stable"; - volumes = [ - "/mnt/medias/musique:/music:ro" - "/var/lib/slimserver:/config:rw" - "/etc/localtime:/etc/localtime:ro" - ]; - ports = [ - "10.30.0.1:9000:9000/tcp" - "10.30.0.1:9090:9090/tcp" - "10.30.0.1:3483:3483/tcp" - "10.30.0.1:3483:3483/udp" - ]; - extraOptions = ["--pull=always"]; - }; - }; - }; - }; }