feat(copyparty): create copyparty service for elcafe
This commit is contained in:
23
hosts/elcafe/copyparty.nix
Normal file
23
hosts/elcafe/copyparty.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{passwordFiles}: {
|
||||
enable = true;
|
||||
user = "creug";
|
||||
group = "users";
|
||||
accounts = {
|
||||
creug.passwordFile = passwordFiles.creug;
|
||||
phundrak.passwordFile = passwordFiles.phundrak;
|
||||
};
|
||||
volumes = {
|
||||
"/plex" = {
|
||||
path = "/plex";
|
||||
access.rwmd = ["creug" "phundrak"];
|
||||
flags = {
|
||||
e2dsa = true;
|
||||
e2ts = true;
|
||||
xdev = true;
|
||||
xvol = true;
|
||||
dedup = true;
|
||||
nohash = "\\.iso$";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user