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 = { };
|
# flags = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"/Medien" = {
|
||||||
|
path = "/mnt/sdb1/media";
|
||||||
|
access = {
|
||||||
|
A = [ "jan" ];
|
||||||
|
r = "*";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
# ./immich.nix
|
# ./immich.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
# ./minecraft.nix
|
# ./minecraft.nix
|
||||||
# ./samba.nix
|
./samba.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,18 +8,8 @@
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
"vfs objects" = "catia fruit streams_xattr";
|
"vfs objects" = "catia fruit streams_xattr";
|
||||||
"fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
|
# "fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
|
||||||
# "guest account" = "jan";
|
"fruit:model" = "MacSamba";
|
||||||
};
|
|
||||||
|
|
||||||
Cloud = {
|
|
||||||
path = "/mnt/sdb1/cloud";
|
|
||||||
writeable = "yes";
|
|
||||||
};
|
|
||||||
|
|
||||||
Media = {
|
|
||||||
path = "/mnt/sdb1/media";
|
|
||||||
writeable = "yes";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
TimeMachine = {
|
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" ];
|
users.users.jan.extraGroups = [ "samba" ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue