diff --git a/machines/z790prors/configuration.nix b/machines/z790prors/configuration.nix index fe48ad7..fb7bf1f 100644 --- a/machines/z790prors/configuration.nix +++ b/machines/z790prors/configuration.nix @@ -14,6 +14,7 @@ in [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../roles/virtualisation/default.nix + ../../roles/nfs-mounts/default.nix ]; # Use the systemd-boot EFI boot loader. diff --git a/roles/nfs-mounts/default.nix b/roles/nfs-mounts/default.nix new file mode 100644 index 0000000..97f1896 --- /dev/null +++ b/roles/nfs-mounts/default.nix @@ -0,0 +1,8 @@ +{ config, ... }: + +{ + fileSystems."/media" = { + device = "10.0.0.43:/media"; + fsType = "nfs"; + }; +}