1
0
Fork 0
dotfiles/system/nixos/mediaserver-setup.nix
2023-04-15 19:43:09 +02:00

25 lines
430 B
Nix

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