Group modules into feature directories

This commit is contained in:
Oliver Davies 2024-11-26 08:40:00 +00:00
parent 0baed7e6f6
commit 9782272a76
49 changed files with 244 additions and 83 deletions
nix/modules/nixos/features/homelab

View file

@ -0,0 +1,21 @@
{ config, lib, ... }:
{
options.features.desktop.homelab.gitea.enable = lib.mkEnableOption "Enable gitea";
config = lib.mkIf config.features.desktop.homelab.gitea.enable {
services.gitea = {
enable = true;
settings = {
server = {
HTTP_PORT = 2222;
};
service = {
DISABLE_REGISTRATION = true;
};
};
};
};
}