From ca4cdd0d260ae7e921de3abb3e84474f2b217dbc Mon Sep 17 00:00:00 2001 From: John Ogle Date: Fri, 23 Aug 2024 12:52:06 -0700 Subject: [PATCH] Add nfs mounts --- machines/z790prors/configuration.nix | 1 + roles/nfs-mounts/default.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 roles/nfs-mounts/default.nix 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"; + }; +}