From 6e67b13b5b50ea4610c1903d5e293d718e852ffc Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 23 Oct 2024 09:18:32 -0700 Subject: [PATCH] Add support for nfs mounts --- nalai/etc/nixos/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nalai/etc/nixos/configuration.nix b/nalai/etc/nixos/configuration.nix index fc4ddd5..078ad65 100644 --- a/nalai/etc/nixos/configuration.nix +++ b/nalai/etc/nixos/configuration.nix @@ -13,6 +13,8 @@ ]; # Bootloader. + boot.supportedFilesystems = [ "nfs" ]; + boot.kernelModules = [ "nfs" ]; # Disable PSR according to # https://bbs.archlinux.org/viewtopic.php?pid=2191514#p2191514 boot.kernelParams = [ @@ -103,6 +105,9 @@ (pkgs.writeTextDir "share/cups/model/Brother_HL-L8250CDN.ppd" (builtins.readFile ./Brother_HL-L8250CDN.ppd)) ]; + # Enable rpcbind for nfs mounting + services.rpcbind.enable = true; + # Enable the X11 windowing system. # You can disable this if you're only using the Wayland session. services.xserver.enable = true; @@ -185,6 +190,7 @@ mosh mumble ndisc6 + nfs-utils neovim om4 poetry