1
0
Fork 0
dotfiles/system/nixos/mediaserver-setup.nix

26 lines
425 B
Nix
Raw Normal View History

2023-04-15 17:43:09 +00:00
{
2023-04-15 17:45:16 +00:00
users.groups.media_group = {
gid = 2001;
};
2023-04-15 17:43:09 +00:00
users.users.media_user = {
uid = 1001;
isSystemUser = true;
description = "Media User";
2023-04-15 17:45:16 +00:00
group = "media_group";
2023-04-15 17:43:09 +00:00
};
services.rpcbind.enable = true;
systemd.mounts = [
{
type = "nfs";
mountConfig = {
Options = "noatime";
};
what = "10.0.0.100:/mnt/dozer/downloads";
where = "/mnt/downloads";
}
];
}