fix: enable nfs support for server and desktop hosts

This commit is contained in:
Dmitriy Kholkin 2025-07-04 15:07:56 +03:00
parent 3621c22f74
commit 6a794eb46f
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 6 additions and 1 deletions

View File

@ -177,8 +177,9 @@ in
fsType = "nfs4"; fsType = "nfs4";
options = [ options = [
"nfsvers=4.2" "nfsvers=4.2"
"x-systemd.automount"
"noauto" "noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=1800"
]; ];
}; };
}; };

View File

@ -87,6 +87,8 @@ in
ataraxia.virtualisation.podman = mkDefault true; ataraxia.virtualisation.podman = mkDefault true;
ataraxia.virtualisation.libvirt = mkDefault true; ataraxia.virtualisation.libvirt = mkDefault true;
boot.supportedFilesystems = [ "nfs" ];
time.timeZone = "Etc/UTC"; time.timeZone = "Etc/UTC";
zramSwap.memoryPercent = 100; zramSwap.memoryPercent = 100;
}; };
@ -99,6 +101,8 @@ in
programs.virt-manager.enable = config.ataraxia.virtualisation.libvirt; programs.virt-manager.enable = config.ataraxia.virtualisation.libvirt;
boot.supportedFilesystems = [ "nfs" ];
services.gvfs.enable = mkDefault true; services.gvfs.enable = mkDefault true;
# saved space, but you need to recompile gvfs # saved space, but you need to recompile gvfs
services.gvfs.package = ( services.gvfs.package = (