mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -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;
|
dns0 = instances.web.dns.provider0;
|
||||||
host = serviceCfg.domains.url0;
|
host = serviceCfg.domains.url0;
|
||||||
dns0Path = "dns/${dns0}";
|
dns0Path = "dns/${dns0}";
|
||||||
|
id = 993;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
microvm.vms = {
|
microvm.vms = {
|
||||||
|
|
@ -40,11 +41,11 @@ in
|
||||||
users.users.jellyfin = {
|
users.users.jellyfin = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = serviceCfg.name;
|
group = serviceCfg.name;
|
||||||
uid = 993;
|
uid = id;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.jellyfin = {
|
users.groups.jellyfin = {
|
||||||
gid = 993;
|
gid = id;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
|
@ -178,7 +179,7 @@ in
|
||||||
};
|
};
|
||||||
users = {
|
users = {
|
||||||
groups.jellyfin = {
|
groups.jellyfin = {
|
||||||
gid = 993;
|
gid = id;
|
||||||
members = [ user0 ];
|
members = [ user0 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -186,7 +187,7 @@ in
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = serviceCfg.name;
|
group = serviceCfg.name;
|
||||||
uid = 993;
|
uid = id;
|
||||||
};
|
};
|
||||||
caddy.extraGroups = [ "acme" ];
|
caddy.extraGroups = [ "acme" ];
|
||||||
};
|
};
|
||||||
|
|
@ -197,6 +198,5 @@ in
|
||||||
"d ${serviceCfg.mntPaths.path0}/data 0755 microvm wheel - -"
|
"d ${serviceCfg.mntPaths.path0}/data 0755 microvm wheel - -"
|
||||||
"d ${serviceCfg.mntPaths.path0}/cache 0755 microvm wheel - -"
|
"d ${serviceCfg.mntPaths.path0}/cache 0755 microvm wheel - -"
|
||||||
"d ${serviceCfg.mntPaths.path0}/media 0775 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