fstab export mounts miniserver

This commit is contained in:
2024-05-10 22:34:37 -06:00
parent dc3f9651b1
commit 71a33608d9
2 changed files with 4 additions and 95 deletions

View File

@@ -17,6 +17,7 @@
};
};
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernel.sysctl = {
"vm.swappiness" = 80;
"net.ipv6.conf.all.disable_ipv6" = 1;
@@ -60,7 +61,7 @@
fileSystems = let
nfsMount = nfsDisk: {
device = "server:/${nfsDisk}";
device = "miniserver:/${nfsDisk}";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
};
@@ -81,8 +82,8 @@
"/" = btrfsMount "nixos" // { };
"/home" = btrfsMount "home" // { };
"/mnt/games" = btrfsMount "games" // { };
# "/mnt/pool" = nfsMount "pool" // { };
# "/mnt/jawz" = nfsMount "jawz" // { };
"/mnt/pool" = nfsMount "pool" // { };
"/mnt/jawz" = nfsMount "jawz" // { };
# "/mnt/btrfs" = nfsMount "btrfs" // { };
"/boot" = {
device = "/dev/disk/by-uuid/ac6d349a-96b9-499e-9009-229efd7743a5";