Add nfs mount

This commit is contained in:
Torjus Håkestad 2024-03-05 15:54:53 +01:00
parent ffc6e57b23
commit ef1843801f
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,7 @@
enable = true;
configurationLimit = 10;
};
boot.supportedFilesystems = [ "nfs" ];
boot.loader.efi = { canTouchEfiVariables = true; };

View File

@ -1,7 +1,10 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
nfs-utils
];
services.rpcbind.enable = true;
systemd.mounts = [{
type = "nfs4";
type = "nfs";
mountConfig = {
Options = "rw,soft,noatime";
};