feat(web/portefolio): adding the portefolio configuration to self host

This commit is contained in:
Raphael 2025-06-10 22:41:23 +02:00
parent def9e16c65
commit 54080cfa18
3 changed files with 71 additions and 0 deletions

21
services/web.nix Normal file
View file

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