add nfs and autofs system
This commit is contained in:
parent
27408723d9
commit
73b137dc84
6 changed files with 92 additions and 341 deletions
|
|
@ -5,6 +5,7 @@
|
|||
./hardware-configuration.nix
|
||||
../system-default.nix # Common NixOS system configuration
|
||||
../../../modules/wireguard.nix
|
||||
../../../modules/autofs.nix
|
||||
../../../modules/login-display.nix
|
||||
];
|
||||
|
||||
|
|
@ -317,4 +318,12 @@
|
|||
showDiskUsage = true;
|
||||
};
|
||||
|
||||
# AutoFS auto-mounting for remote NFS shares
|
||||
services.autofs-custom = {
|
||||
enable = true;
|
||||
remoteHost = "10.2.2.20";
|
||||
remotePath = "/mnt/storage/Media";
|
||||
mountPoint = "/mnt/hs-media";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue