Add nfs to omen

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-05-28 09:01:14 +02:00
parent 534855a172
commit f721536982
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -21,6 +21,7 @@ in
supportedFilesystems = [ "zfs" ];
kernelParams = [
"zfs.zfs_arc_max=214748368"
"intel_pstate=active"
];
kernelPackages = pkgs.linuxPackages_latest;
};
@ -64,6 +65,21 @@ in
fsType = "ext4";
};
"/mnt/net/Magic_RB" =
{
fsType = "nfs";
device = "10.64.0.2:/Magic_RB";
options = [
"noauto"
"x-systemd.automount"
"x-systemd.device-timeout=10"
"timeo=14"
"hard"
"intr"
"noatime"
"x-systemd.after=wireguard-wg0.service"
];
};
"/boot/efi" =
{ device = "/dev/disk/by-partlabel/efi-WL157385";