Add NFS mount for library

This commit is contained in:
Jordan Holt 2024-01-21 15:55:16 +00:00
parent 2f3624a6b8
commit 2b69b34706
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,12 @@
pulse.enable = true;
};
fileSystems."/mnt/library" = {
device = "library.mesh.vimium.net:/mnt/library";
fsType = "nfs";
options = [ "nfsvers=4.2" "soft" "nocto" "ro" "x-systemd.automount" "noauto" ];
};
system.autoUpgrade = {
enable = true;
flake = "git+ssh://git@git.vimium.com/jordan/nix-config.git";

View File

@ -43,6 +43,10 @@ with lib.my;
};
};
services.nfs.server = {
enable = true;
};
services.prometheus = {
enable = true;
port = 9001;