nix-config/modules/nixos/samba.nix
Jan Kremer aaf705b7d6
galanthus: Tailscale services declaratively, Jellyfin no container
Tailscale services can now be declared in Nix, which also eliminates my
need for containers completely.

Jellyfin hardware encoding can now also be implemented using the Nix
module.

Hardware support now implemented with nixos-hardware.
2026-02-05 11:47:01 +01:00

23 lines
470 B
Nix

{ pkgs, ... }:
{
services.samba = {
enable = true;
package = pkgs.samba4Full;
usershares.enable = true;
settings = {
global = {
"vfs objects" = "catia fruit streams_xattr";
# "fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
};
TimeMachine = {
path = "/mnt/sdb1/timemachine";
writeable = "yes";
"fruit:time machine" = "yes";
};
};
};
users.users.jan.extraGroups = [ "samba" ];
}