From f721a2f969942ff86751d4232a1441ea963e4f8b Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Tue, 5 Dec 2023 18:56:03 +0100 Subject: [PATCH 1/2] add nameserver --- hosts/fw.cloonar.com/modules/gitea.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index fc78ffd..f69687f 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -43,6 +43,7 @@ in config = { lib, config, pkgs, ... }: { networking = { hostName = "git"; + nameservers = [ "10.42.97.10" ]; interfaces.mv-vserver = { useDHCP = true; }; From fe7a61e848572d17b58c1f223facdc8bac9d5f11 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Tue, 5 Dec 2023 19:03:25 +0100 Subject: [PATCH 2/2] add openssh t git --- hosts/fw.cloonar.com/modules/gitea.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index f69687f..aa9dad7 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -91,6 +91,9 @@ in }; }; + services.openssh.enable = true; + + users.users.gitea = user; users.groups.gitea = group;