This commit is contained in:
Matt Nish-Lapidus 2025-04-13 12:10:45 -04:00
parent 6cb21efae5
commit 375c19ff26
2 changed files with 19 additions and 13 deletions

View file

@ -1,9 +1,11 @@
{ config, lib, pkgs, inputs, ... }:{
{ nix-config, pkgs, inputs, ... }:{
imports = [
imports = with nix-config.nixosModules; [
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
./disko-config.nix
forgejo
];
boot.tmp.cleanOnBoot = true;
@ -41,17 +43,6 @@
];
};
services = {
forgejo = {
enable = true;
lfs.enable = true;
settings = {
server = {
HTTP_PORT = 12345;
};
};
};
};
system.stateVersion = "25.05"; # Did you read the comment?

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
services = {
forgejo = {
enable = true;
lfs.enable = true;
settings = {
server = {
HTTP_PORT = 12345;
};
};
};
};
}