variable_names
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# define nfs exports
|
# define nfs exports
|
||||||
let
|
let
|
||||||
nfsExports = ''
|
nfs_exports = ''
|
||||||
/holocron/vault *(rw,sync,no_subtree_check,no_root_squash)
|
/holocron/vault *(rw,sync,no_subtree_check,no_root_squash)
|
||||||
/holocron/media *(ro,sync,no_subtree_check)
|
/holocron/media *(ro,sync,no_subtree_check)
|
||||||
'';
|
'';
|
||||||
@@ -17,7 +17,7 @@ in
|
|||||||
services.nfs = {
|
services.nfs = {
|
||||||
server = {
|
server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = nfsExports;
|
exports = nfs_exports;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# define smb shares
|
# define smb shares
|
||||||
let
|
let
|
||||||
smbShares = {
|
smb_shares = {
|
||||||
vault = {
|
vault = {
|
||||||
path = "/holocron/vault";
|
path = "/holocron/vault";
|
||||||
browseable = true;
|
browseable = true;
|
||||||
@@ -26,7 +26,7 @@ in
|
|||||||
# enable smb with all shares
|
# enable smb with all shares
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = smbShares;
|
settings = smb_shares;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user