From 6e6952e9fd4ff2a54816591a7ee97651a553c856 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Wed, 14 Sep 2022 14:14:30 +0000
Subject: [PATCH] Revert "Rely on Systemd defaults"

This reverts commit b8a88f3590df1940c7786f9cfcb0f8241e550d29.

The current defaults already do not work.
Go back to set the dependencies manually.
---
 nixos/modules/tahoe.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nixos/modules/tahoe.nix b/nixos/modules/tahoe.nix
index a622c448..3c0691f7 100644
--- a/nixos/modules/tahoe.nix
+++ b/nixos/modules/tahoe.nix
@@ -187,6 +187,8 @@ in
         # Systemd uses the socket name to link to the corresponding Service Unit.
         systemd.sockets."tahoe.storage" = {
           description = "Tahoe Web Server Socket";
+          wantedBy = [ "sockets.target" ];
+          before = [ "multi-user.target" ];
           socketConfig = {
             ListenStream = "127.0.0.1:3456";
           };
-- 
GitLab