NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
305 B

2 weeks ago
  1. { config, ...}:
  2. {
  3. services.cachefilesd = {
  4. enable = true;
  5. };
  6. fileSystems."home" = {
  7. mountPoint = "/home";
  8. device = "nfs.${config.networking.domain}:/home";
  9. fsType = "nfs";
  10. options = [
  11. "nfsvers=4.2"
  12. "noauto"
  13. "fsc"
  14. "x-systemd.automount"
  15. ];
  16. };
  17. }