Add nfs mounts
This commit is contained in:
@@ -14,6 +14,7 @@ in
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../roles/virtualisation/default.nix
|
../../roles/virtualisation/default.nix
|
||||||
|
../../roles/nfs-mounts/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
|||||||
8
roles/nfs-mounts/default.nix
Normal file
8
roles/nfs-mounts/default.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fileSystems."/media" = {
|
||||||
|
device = "10.0.0.43:/media";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user