persist/private: s6: use systemd to explicitly start the mount, rather than assume it's already been initiated

This commit is contained in:
2024-07-26 13:04:12 +00:00
parent 3d91fa2475
commit f4df121e3d

View File

@@ -134,9 +134,9 @@ lib.mkIf config.sane.persist.enable
sane.user.services.gocryptfs-private = {
description = "wait for /mnt/persist/private to be mounted";
# startCommand = "${lib.getExe' pkgs.systemd "systemctl"} start mnt-persist-private.mount";
command = "sleep infinity";
readiness.waitExists = [ "/mnt/persist/private/init" ];
startCommand = "${lib.getExe' pkgs.systemd "systemctl"} start mnt-persist-private.mount";
# command = "sleep infinity";
# readiness.waitExists = [ "/mnt/persist/private/init" ];
partOf = [ "private-storage" ];
};
}