mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
fix: samba unfucked
This commit is contained in:
parent
65cda6178f
commit
60a8eaa374
3 changed files with 16 additions and 11 deletions
|
|
@ -1,12 +1,9 @@
|
|||
{
|
||||
pkgs,
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.services)
|
||||
instances
|
||||
;
|
||||
inherit (flake.config.services) instances;
|
||||
service = instances.samba;
|
||||
in
|
||||
{
|
||||
|
|
@ -19,8 +16,16 @@ in
|
|||
openFirewall = true;
|
||||
settings = {
|
||||
"storage" = {
|
||||
path = "/mnt/storage";
|
||||
writable = "true";
|
||||
path = "/mnt/storage/${instances.jellyfin.name}/media";
|
||||
browseable = "yes";
|
||||
writeable = "yes";
|
||||
"guest ok" = "no";
|
||||
"create mask" = "0664";
|
||||
"directory mask" = "0775";
|
||||
"force user" = "microvm";
|
||||
"force group" = "wheel";
|
||||
"force create mode" = "0664";
|
||||
"force directory mode" = "0775";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue