diff --git a/flake.lock b/flake.lock index d2d2434..7c7bdc3 100644 --- a/flake.lock +++ b/flake.lock @@ -206,11 +206,11 @@ "utils": "utils_3" }, "locked": { - "lastModified": 1654910231, - "narHash": "sha256-BGKT7IL+IrZLBQFJ0PxC8lFUV4Y3IONmi/SbaabsWlY=", + "lastModified": 1655171212, + "narHash": "sha256-WWryDfkz5Gg4FnIQDTPKNIB8oQsA81/qxub3cmOqCNc=", "owner": "jyooru", "repo": "nix-minecraft-servers", - "rev": "14465ed2e2804484d1d456afee0d8fded6eb05bd", + "rev": "e8521e4982cb0eb8ac1534d137383fd9eff47100", "type": "github" }, "original": { @@ -257,11 +257,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1654682581, - "narHash": "sha256-Jb1PQCwKgwdNAp907eR5zPzuxV+kRroA3UIxUxCMJ9s=", + "lastModified": 1655130522, + "narHash": "sha256-5dzlxE4okyu+M39yeVtHWQXzDZQxFF5rUB1iY9R6Lb4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e0169d7a9d324afebf5679551407756c77af8930", + "rev": "13f08d71ceff5101321e0291854495a1ec153a5e", "type": "github" }, "original": { diff --git a/flux/cluster/base/flux-system/image-update-automation/image-update-automation.yaml b/flux/cluster/base/flux-system/image-update-automation/image-update-automation.yaml index e140eb7..bc1fdf2 100644 --- a/flux/cluster/base/flux-system/image-update-automation/image-update-automation.yaml +++ b/flux/cluster/base/flux-system/image-update-automation/image-update-automation.yaml @@ -4,7 +4,7 @@ metadata: name: flux-system namespace: flux-system spec: - interval: 1m0s + interval: 15m0s sourceRef: kind: GitRepository name: flux-system diff --git a/flux/cluster/base/flux-system/image-update-automation/zookeeper.yaml b/flux/cluster/base/flux-system/image-update-automation/zookeeper.yaml index 6c95f6d..7aba21c 100644 --- a/flux/cluster/base/flux-system/image-update-automation/zookeeper.yaml +++ b/flux/cluster/base/flux-system/image-update-automation/zookeeper.yaml @@ -5,7 +5,7 @@ metadata: namespace: flux-system spec: image: registry.xirion.net/library/zookeeper - interval: 1m0s + interval: 15m0s secretRef: name: xirion-registry-creds --- diff --git a/nixos/hosts/gitea/configuration.nix b/nixos/hosts/gitea/configuration.nix index f59a01a..848982f 100644 --- a/nixos/hosts/gitea/configuration.nix +++ b/nixos/hosts/gitea/configuration.nix @@ -25,6 +25,11 @@ services.openssh.startWhenNeeded = false; + services.fail2ban = { + enable = true; + maxretry = 3; + }; + services.gitea = { enable = true; domain = "git.0x76.dev";