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