update nixpkgs to 24.11 (small)

Also use non-lts forgejo and adjust config for 24.11.
This commit is contained in:
June 2024-12-08 22:21:15 +01:00
parent 67ab856b82
commit a039b3febf
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
3 changed files with 13 additions and 7 deletions

View file

@ -7,13 +7,19 @@
# - https://codeberg.org/forgejo/forgejo/src/branch/forgejo/docs/content/administration/reverse-proxies.en-us.md
# - https://forgejo.org/docs/latest/admin/email-setup/
{ pkgs-unstable, ... }:
{ pkgs, ... }:
{
services.forgejo = {
enable = true;
package = pkgs.forgejo;
database.type = "postgres";
mailerPasswordFile = "/run/secrets/forgejo_git_smtp_password";
secrets = {
mailer = {
PASSWD = "/run/secrets/forgejo_git_smtp_password";
};
};
settings = {
DEFAULT = {

View file

@ -66,16 +66,16 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1733647408,
"narHash": "sha256-t9/YFvqti1dE/tqeTunf8LGgjlwS6iSE8xl5KV/zcII=",
"lastModified": 1733642008,
"narHash": "sha256-ijS1XixgnF1UW1wnsO5J7rw5li0n6SZCBQWCYSfJwXw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "65d98ad2a50103eee5f72335bf69b7bae9d92612",
"rev": "5e7591e5e8c8cddc1e9c7cad01033e6c2d560cd0",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.05-small",
"ref": "nixos-24.11-small",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -5,7 +5,7 @@
# Use the NixOS small channels for nixpkgs.
# https://nixos.org/manual/nixos/stable/#sec-upgrading
# https://github.com/NixOS/nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05-small";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11-small";
# Add nixos-generators as an input.
# See here: https://github.com/nix-community/nixos-generators#using-in-a-flake