Change NFS bullshit
This commit is contained in:
parent
389258a617
commit
420c64a70c
|
@ -91,8 +91,58 @@
|
|||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/jimbo/JimboNFS" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS";
|
||||
"/home/jimbo/JimboNFS/Downloads" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Downloads";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Documents" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Documents";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Documents" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Documents";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Photos" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Photos";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Videos/Random" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Videos/Random";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Videos/Media" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Videos/Media";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Music/Synced" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Music/Synced";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Music/Unsynced" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Music/Unsynced";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/Projects" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/Projects";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/School" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/School";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
"/home/jimbo/JimboNFS/School" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS/School";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
|
|
|
@ -3,7 +3,15 @@
|
|||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export/JimboNFS *(rw,no_subtree_check)
|
||||
/export/JimboNFS/Downloads *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Documents *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Photos *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Videos/Random *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Videos/Media *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Music/Synced *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Music/Unsynced *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/Projects *(rw,sync,no_subtree_check)
|
||||
/export/JimboNFS/School *(rw,sync,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue