mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
fix: samba perms unfucked
This commit is contained in:
parent
d96797892e
commit
a6c78e07e5
1 changed files with 5 additions and 5 deletions
|
|
@ -12,6 +12,7 @@ let
|
|||
dns0 = instances.web.dns.provider0;
|
||||
host = serviceCfg.domains.url0;
|
||||
dns0Path = "dns/${dns0}";
|
||||
id = 993;
|
||||
in
|
||||
{
|
||||
microvm.vms = {
|
||||
|
|
@ -40,11 +41,11 @@ in
|
|||
users.users.jellyfin = {
|
||||
isSystemUser = true;
|
||||
group = serviceCfg.name;
|
||||
uid = 993;
|
||||
uid = id;
|
||||
};
|
||||
|
||||
users.groups.jellyfin = {
|
||||
gid = 993;
|
||||
gid = id;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
|
|
@ -178,7 +179,7 @@ in
|
|||
};
|
||||
users = {
|
||||
groups.jellyfin = {
|
||||
gid = 993;
|
||||
gid = id;
|
||||
members = [ user0 ];
|
||||
};
|
||||
|
||||
|
|
@ -186,7 +187,7 @@ in
|
|||
jellyfin = {
|
||||
isSystemUser = true;
|
||||
group = serviceCfg.name;
|
||||
uid = 993;
|
||||
uid = id;
|
||||
};
|
||||
caddy.extraGroups = [ "acme" ];
|
||||
};
|
||||
|
|
@ -197,6 +198,5 @@ in
|
|||
"d ${serviceCfg.mntPaths.path0}/data 0755 microvm wheel - -"
|
||||
"d ${serviceCfg.mntPaths.path0}/cache 0755 microvm wheel - -"
|
||||
"d ${serviceCfg.mntPaths.path0}/media 0775 microvm wheel - -"
|
||||
"Z ${serviceCfg.mntPaths.path0}/media 0775 jellyfin jellyfin - -"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue