BIG changes. Make almost every server service modular, to distribute among multiple servers
This commit is contained in:
parent
30fc0dc800
commit
7e40fd4fb3
44 changed files with 153 additions and 143 deletions
|
@ -2,14 +2,13 @@
|
|||
{
|
||||
imports = [ ./user ];
|
||||
|
||||
config = lib.mkIf config.system.fileserver.enable {
|
||||
config = lib.mkIf config.services.fileserver.enable {
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/storage/Files *(rw,sync,no_subtree_check)
|
||||
/storage/Media *(rw,sync,no_subtree_check)
|
||||
/storage/Music *(rw,sync,no_subtree_check)
|
||||
/srv/minecraft *(rw,sync,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
networking.nftables.tables.nfs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue