commit 28fa4bb9918b55a4b131522e2e51cd20d385179a parent 2c87aeb26959dbb3d8e0eed91710d44b718a220b Author: Vincent Demeester <vincent@sbr.pm> Date: Tue, 15 Oct 2024 15:36:17 +0200 profiles.home: fix mounting from aion Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/modules/profiles/home.nix | | | 26 | +++++++++++++++++++++++--- |
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/systems/modules/profiles/home.nix b/systems/modules/profiles/home.nix @@ -52,9 +52,29 @@ in fsType = "nfs"; options = [ "x-systemd.automount" "noauto" ]; }; - # FIXME(vdemeester): I think it acts like this because there is only one export - "/net/aion.home/export" = { - device = "${machines.home.ips.aion}:/export"; + # FIXME(vdemeester): Loop + "/net/aion.home/export/documents" = { + device = "aion.home:/export/documents"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" ]; + }; + "/net/aion.home/export/downloads" = { + device = "aion.home:/export/downloads"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" ]; + }; + "/net/aion.home/export/music" = { + device = "aion.home:/export/music"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" ]; + }; + "/net/aion.home/export/pictures" = { + device = "aion.home:/export/pictures"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" ]; + }; + "/net/aion.home/export/videos" = { + device = "aion.home:/export/videos"; fsType = "nfs"; options = [ "x-systemd.automount" "noauto" ]; };