feat(42/irc): setup the irc server service
This commit is contained in:
parent
dc68443661
commit
a1bc1e4074
5 changed files with 75 additions and 2 deletions
21
services/forty_two.nix
Normal file
21
services/forty_two.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue