Compare commits

..

No commits in common. "312c1e00a9eeefda575adccfae5f2642a1d2bb1e" and "5b1cc90b6f2a96caac265ba0ad44d4dfa7524e11" have entirely different histories.

2 changed files with 24 additions and 5 deletions

View File

@ -25,9 +25,6 @@
tmp.useTmpfs = true;
kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
# Enabling both boot.enableContainers & virtualisation.containers on system.stateVersion < 22.05 is unsupported
enableContainers = false;
};
documentation.nixos.enable = false;

View File

@ -40,8 +40,6 @@
ImageCacheSize = 0;
};
};
slimserver.enable = true;
};
systemd.services.transmission.serviceConfig = {
@ -58,4 +56,28 @@
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"];
};
};
};
};
}