From 3bb0b550aaf6d9cabcd62a28f0e7c59dbdfe4f37 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 18 Sep 2023 19:05:58 +0200 Subject: [PATCH] Add a RequiredBy dependency for remote-fs.target --- m/module/shared-nix-store.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/m/module/shared-nix-store.nix b/m/module/shared-nix-store.nix index 95df035..a078a14 100644 --- a/m/module/shared-nix-store.nix +++ b/m/module/shared-nix-store.nix @@ -57,6 +57,7 @@ unitConfig = { # We need to wait for the NFS mount RequiresMountsFor = "/nix/store /mnt/hut-nix-store"; + RequiredBy = "remote-fs.target"; Before = "remote-fs.target"; }; }