feat(42/irc): setup the irc server service

This commit is contained in:
Raphael 2025-06-22 18:34:40 +02:00
parent dc68443661
commit a1bc1e4074
5 changed files with 75 additions and 2 deletions

21
services/forty_two.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, lib, ... }:
let
irc = import ./forty_two/irc.nix {
inherit config pkgs lib;
};
cfg = config.service.forty_two;
in
{
imports = [
irc
];
options.service.forty_two = {
irc = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the ft_irc server";
};
};
}