remove nfs and autofs

This commit is contained in:
Yan Lin 2025-10-25 17:49:20 +02:00
parent da6095e0d2
commit db24e9b742
4 changed files with 0 additions and 110 deletions

View file

@ -7,7 +7,6 @@
../../../modules/wireguard.nix
../../../modules/podman.nix
../../../modules/traefik.nix
../../../modules/nfs.nix
../../../modules/borg-client.nix
../../../modules/login-display.nix
];
@ -194,15 +193,6 @@
];
};
# NFS file sharing configuration
services.nfs-custom = {
enable = true;
exportPath = "/mnt/storage/Media";
allowedNetworks = [ "10.1.1.0/24" "10.2.2.0/24" ]; # LAN and WireGuard
};
# Login display with SMART disk health status
services.login-display = {
enable = true;

View file

@ -5,7 +5,6 @@
./hardware-configuration.nix
../system-default.nix # Common NixOS system configuration
../../../modules/wireguard.nix
../../../modules/autofs.nix
../../../modules/login-display.nix
];
@ -318,12 +317,4 @@
showDiskUsage = true;
};
# AutoFS auto-mounting for remote NFS shares
services.autofs-custom = {
enable = true;
remoteHost = "lan.hs.yanlincs.com"; # Prefer LAN when at home
replicas = [ "10.2.2.20" ]; # Fallback to WireGuard when remote
mountPoint = "/mnt/hs-media";
};
}