From cfa6d79b7598877f3ece62406c6a48c66fbb3f9d Mon Sep 17 00:00:00 2001 From: "Janik H." Date: Fri, 19 Jul 2024 00:49:17 +0200 Subject: [PATCH] infra: fix warnings --- hosts/bagel-box/default.nix | 1 + hosts/git/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/bagel-box/default.nix b/hosts/bagel-box/default.nix index 5d153ac..df74126 100644 --- a/hosts/bagel-box/default.nix +++ b/hosts/bagel-box/default.nix @@ -53,5 +53,6 @@ services.openssh.enable = true; + system.stateVersion = "24.11"; deployment.targetHost = "bagel-box.infra.forkos.org"; } diff --git a/hosts/git/default.nix b/hosts/git/default.nix index 065c4f3..4399485 100644 --- a/hosts/git/default.nix +++ b/hosts/git/default.nix @@ -34,6 +34,7 @@ in # the required (additional) IPv6 address, leading to sshd to not being able to # bind to the requested IP, crashing 5 times and running into the default # restart counter limit (5). + systemd.services.sshd.wants = [ "network-online.target" ]; systemd.services.sshd.after = [ "network-online.target" ]; bagel.services.forgejo = {