Move nfs-share stuff to a module.

This commit is contained in:
CronyAkatsuki 2025-02-01 18:35:58 +01:00
parent e94c4f7d81
commit 74c1b18ce2
3 changed files with 20 additions and 7 deletions

View file

@ -89,13 +89,6 @@
# Enable zram swap device
zramSwap.enable = true;
# Nfs share
fileSystems."/mnt/share" = {
device = "192.168.0.4:/mnt/nfs";
fsType = "nfs";
options = ["_netdev" "noauto" "x-systemd.automount" "x-systemd.mount-timeout=10" "timeo=14" "x-systemd.idle-timeout=600"];
};
# Setup auto-cpufreq
programs.auto-cpufreq = {
enable = true;