mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
needed a unique uuid
This commit is contained in:
parent
1272647459
commit
5786538150
1 changed files with 6 additions and 4 deletions
|
|
@ -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}") [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue