added more config for nfs mounts
This commit is contained in:
parent
f5c67b812f
commit
1e98b54454
6 changed files with 27 additions and 10 deletions
|
@ -58,6 +58,7 @@
|
|||
folder = "leyla";
|
||||
user = "leyla";
|
||||
group = "leyla";
|
||||
bind = "/home/leyla/documents";
|
||||
}
|
||||
{
|
||||
folder = "eve";
|
||||
|
@ -69,6 +70,12 @@
|
|||
user = "root";
|
||||
group = "users";
|
||||
}
|
||||
{
|
||||
folder = "media";
|
||||
user = "jellyfin";
|
||||
group = "jellyfin_media";
|
||||
bind = config.host.jellyfin.media_directory;
|
||||
}
|
||||
];
|
||||
nfs = {
|
||||
enable = true;
|
||||
|
|
|
@ -38,23 +38,29 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
"/mnt/leyla_home" = {
|
||||
"/mnt/leyla_documents" = {
|
||||
device = "defiant:/exports/leyla";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "user" "noatime" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
};
|
||||
|
||||
"/mnt/eve_home" = {
|
||||
"/mnt/eve_documents" = {
|
||||
device = "defiant:/exports/eve";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
};
|
||||
|
||||
"/mnt/users_home" = {
|
||||
"/mnt/users_documents" = {
|
||||
device = "defiant:/exports/users";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
};
|
||||
|
||||
"/mnt/media" = {
|
||||
device = "defiant:/exports/media";
|
||||
fsType = "nfs";
|
||||
options = ["user" "noatime" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -47,13 +47,13 @@
|
|||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
"/mnt/leyla_home" = {
|
||||
"/mnt/leyla_documents" = {
|
||||
device = "defiant:/exports/leyla";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
};
|
||||
|
||||
"/mnt/users_home" = {
|
||||
"/mnt/users_documents" = {
|
||||
device = "defiant:/exports/users";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue