galanthus: Add Copyparty share, reenable Samba for TimeMachine
This commit is contained in:
parent
fe8273c4d3
commit
6addf51d68
3 changed files with 11 additions and 24 deletions
|
|
@ -41,6 +41,14 @@
|
|||
};
|
||||
# flags = { };
|
||||
};
|
||||
|
||||
"/Medien" = {
|
||||
path = "/mnt/sdb1/media";
|
||||
access = {
|
||||
A = [ "jan" ];
|
||||
r = "*";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# ./immich.nix
|
||||
./jellyfin.nix
|
||||
# ./minecraft.nix
|
||||
# ./samba.nix
|
||||
./samba.nix
|
||||
./tailscale.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,18 +8,8 @@
|
|||
settings = {
|
||||
global = {
|
||||
"vfs objects" = "catia fruit streams_xattr";
|
||||
"fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
|
||||
# "guest account" = "jan";
|
||||
};
|
||||
|
||||
Cloud = {
|
||||
path = "/mnt/sdb1/cloud";
|
||||
writeable = "yes";
|
||||
};
|
||||
|
||||
Media = {
|
||||
path = "/mnt/sdb1/media";
|
||||
writeable = "yes";
|
||||
# "fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
|
||||
"fruit:model" = "MacSamba";
|
||||
};
|
||||
|
||||
TimeMachine = {
|
||||
|
|
@ -30,16 +20,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
## Used to advertise the shares to Windows hosts
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
publish.enable = true;
|
||||
publish.userServices = true;
|
||||
};
|
||||
|
||||
users.users.jan.extraGroups = [ "samba" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue