galanthus: Add Copyparty share, reenable Samba for TimeMachine

This commit is contained in:
Jan Kremer 2026-02-03 15:54:37 +01:00
parent fe8273c4d3
commit 6addf51d68
No known key found for this signature in database
3 changed files with 11 additions and 24 deletions

View file

@ -41,6 +41,14 @@
};
# flags = { };
};
"/Medien" = {
path = "/mnt/sdb1/media";
access = {
A = [ "jan" ];
r = "*";
};
};
};
};
}

View file

@ -5,7 +5,7 @@
# ./immich.nix
./jellyfin.nix
# ./minecraft.nix
# ./samba.nix
./samba.nix
./tailscale.nix
];
}

View file

@ -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" ];
}