feat(web/portefolio): adding the portefolio configuration to self host
This commit is contained in:
parent
def9e16c65
commit
54080cfa18
3 changed files with 71 additions and 0 deletions
21
services/web.nix
Normal file
21
services/web.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue