Move nfs-share stuff to a module.
This commit is contained in:
parent
e94c4f7d81
commit
74c1b18ce2
3 changed files with 20 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue