mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -06:00
test: jellyfin microVM
This commit is contained in:
parent
1faa06262d
commit
5fc49f405a
2 changed files with 28 additions and 30 deletions
|
|
@ -149,10 +149,8 @@ in
|
||||||
users.users.caddy.extraGroups = [ "acme" ];
|
users.users.caddy.extraGroups = [ "acme" ];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# Create directories with 777 permissions so the jellyfin user (UID 999) inside the VM can write
|
"d ${serviceCfg.mntPaths.path0} 0755 999 999 -"
|
||||||
# VirtioFS preserves host permissions, and we can't easily match UIDs between host and guest
|
"d ${serviceCfg.mntPaths.path0}/cache 0755 999 999 -"
|
||||||
"d ${serviceCfg.mntPaths.path0} 0777 root root -"
|
|
||||||
"d ${serviceCfg.mntPaths.path0}/cache 0777 root root -"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue