actually did the thing
This commit is contained in:
parent
4c9052b18c
commit
cbd6262c10
|
@ -31,7 +31,9 @@ in
|
|||
});
|
||||
in {
|
||||
system.activationScripts."link-network-xml" =
|
||||
lib.stringAfter ["var"] (toXml "NetworkConfiguration" cfg.network);
|
||||
lib.stringAfter ["var"] (let content = toXml "NetworkConfiguration" cfg.network; in ''
|
||||
${pkgs.writeTextFile}/bin/writeTextFile /var/lib/jellyfin/config/network.xml '${strings.escape ["'"] content}'
|
||||
'');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue