needed a unique uuid

This commit is contained in:
arcnmx 2023-03-25 09:36:07 -07:00
parent 1272647459
commit 5786538150

View file

@ -87,6 +87,7 @@ in {
enable = true;
openFirewall = true;
serverName = config.networking.hostName;
uuid = "082fd344-bf69-5b72-a68f-a5a4d88e76b2";
mediaDirectories = lib.singleton {
path = "/mnt/shadow/media";
recursive = true;
@ -164,10 +165,11 @@ in {
};
mediatomb = rec {
confinement.enable = true;
requires = [
"mnt-shadow.mount"
unitConfig = {
RequiresMountsFor = [
"/mnt/shadow"
];
after = requires;
};
serviceConfig = {
StateDirectory = config.services.mediatomb.package.pname;
BindReadOnlyPaths = map (path: "/mnt/shadow/media/${path}") [