use latest forgejo

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-03 21:49:18 +00:00
parent 79897f552d
commit 02e18aa0fc
3 changed files with 23 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{ {
config, config,
lib, lib,
inputs,
... ...
}: }:
let let
@ -13,6 +14,8 @@ let
hostAddress6 = "fc00::1"; hostAddress6 = "fc00::1";
containerAddress6 = "fc00::2"; containerAddress6 = "fc00::2";
forgejoNixpkgs = inputs.forgejo-nixpkgs;
binds = [ binds = [
# Postgres data, must use postgres user in container and host # Postgres data, must use postgres user in container and host
{ {
@ -119,6 +122,7 @@ in
} }
// acc // acc
) { } binds; ) { } binds;
nixpkgs = forgejoNixpkgs;
config = config =
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
@ -208,7 +212,7 @@ in
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false; SHOW_FOOTER_TEMPLATE_LOAD_TIME = false;
}; };
migrations = { migrations = {
ALLOWED_DOMAINS = "*.github.com,github.com"; ALLOWED_DOMAINS = "*.github.com,github.com,codeberg.org,*.codeberg.org";
ALLOW_LOCALNETWORKS = true; ALLOW_LOCALNETWORKS = true;
}; };
}; };

17
hosts/h001/flake.lock generated
View file

@ -151,6 +151,22 @@
"type": "github" "type": "github"
} }
}, },
"forgejo-nixpkgs": {
"locked": {
"lastModified": 1764667669,
"narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "418468ac9527e799809c900eda37cbff999199b6",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
@ -1247,6 +1263,7 @@
"beszel": "beszel", "beszel": "beszel",
"beszel-nixpkgs": "beszel-nixpkgs_2", "beszel-nixpkgs": "beszel-nixpkgs_2",
"common": "common", "common": "common",
"forgejo-nixpkgs": "forgejo-nixpkgs",
"home-manager": "home-manager", "home-manager": "home-manager",
"litellm-nixpkgs": "litellm-nixpkgs", "litellm-nixpkgs": "litellm-nixpkgs",
"nixarr": "nixarr", "nixarr": "nixarr",

View file

@ -11,6 +11,7 @@
pinchflat-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; pinchflat-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
zitadel-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; zitadel-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
beszel-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; beszel-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
forgejo-nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Use relative to get current version for testing # Use relative to get current version for testing
# common.url = "path:../../flakes/common"; # common.url = "path:../../flakes/common";