main
1{ globals, ... }:
2{
3 imports = [
4 ../common/services/nfs-mounts.nix
5 ];
6
7 fileSystems = {
8 "/" = {
9 device = "/dev/disk/by-label/NIXOS_SD";
10 fsType = "ext4";
11 options = [ "noatime" ];
12 };
13 "/data" = {
14 device = "/dev/disk/by-label/data";
15 fsType = "ext4";
16 options = [ "noatime" ];
17 };
18 };
19
20 # NFS mounts from globals defaults (rhea + aion)
21 services.nfs-mounts.hosts = globals.net.nfs.defaultHosts;
22}