mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
forgejo: Use package from stable
This commit is contained in:
parent
a4ff86def8
commit
d1ad765314
1 changed files with 1 additions and 12 deletions
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.custom.services.forgejo;
|
||||
in
|
||||
|
|
@ -22,11 +17,6 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = lib.singleton {
|
||||
assertion = lib.versionOlder lib.version "25.11";
|
||||
message = "TODO: Use forgejo package from stable nixpkgs";
|
||||
};
|
||||
|
||||
meta = {
|
||||
domains.local = [ cfg.domain ];
|
||||
ports.tcp = [ cfg.port ];
|
||||
|
|
@ -49,7 +39,6 @@ in
|
|||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.forgejo;
|
||||
|
||||
user = "git";
|
||||
group = "git";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue