initial attempt at nfs
This commit is contained in:
parent
ee4d1eb158
commit
0fa527717e
11 changed files with 73 additions and 38 deletions
|
@ -1,7 +1,5 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [ ./hardware.nix ];
|
||||
|
||||
config = {
|
||||
fileSystems."/var/media" = {
|
||||
device = "/dev/disk/by-label/data";
|
||||
|
@ -9,16 +7,15 @@
|
|||
};
|
||||
|
||||
modules = {
|
||||
networking.ssh.enable = true;
|
||||
networking = {
|
||||
ssh.enable = true;
|
||||
nfs.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
auth.enable = true;
|
||||
media.enable = true;
|
||||
nextcloud.enable = true;
|
||||
|
||||
games = {
|
||||
# minecraft.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
root = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue