1
0
Fork 0

mediaserver: nfs

This commit is contained in:
Daniel Kempkens 2023-04-15 19:43:09 +02:00
parent 36c71a418c
commit 82f1c9be52
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 26 additions and 0 deletions

View file

@ -18,6 +18,7 @@ in
../nixos/tailscale.nix
../nixos/mediaserver-setup.nix
../nixos/wireguard-netns.nix
../nixos/prowlarr.nix
];

View file

@ -0,0 +1,25 @@
{
users.users.media_user = {
uid = 1001;
isSystemUser = true;
description = "Media User";
};
users.groups.media_group = {
gid = 2001;
members = [ "media_user" ];
};
services.rpcbind.enable = true;
systemd.mounts = [
{
type = "nfs";
mountConfig = {
Options = "noatime";
};
what = "10.0.0.100:/mnt/dozer/downloads";
where = "/mnt/downloads";
}
];
}