Add nfs mount
This commit is contained in:
parent
ffc6e57b23
commit
ef1843801f
@ -14,6 +14,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
};
|
};
|
||||||
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
boot.loader.efi = { canTouchEfiVariables = true; };
|
boot.loader.efi = { canTouchEfiVariables = true; };
|
||||||
|
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nfs-utils
|
||||||
|
];
|
||||||
services.rpcbind.enable = true;
|
services.rpcbind.enable = true;
|
||||||
systemd.mounts = [{
|
systemd.mounts = [{
|
||||||
type = "nfs4";
|
type = "nfs";
|
||||||
mountConfig = {
|
mountConfig = {
|
||||||
Options = "rw,soft,noatime";
|
Options = "rw,soft,noatime";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user