Add extra function for lib, and refactor with loadImports
This commit is contained in:
parent
317a2b4a28
commit
2c997cddce
28 changed files with 111 additions and 204 deletions
|
|
@ -5,11 +5,7 @@
|
|||
}: let
|
||||
cfg = config.youthlic.programs.caddy;
|
||||
in {
|
||||
imports = [
|
||||
./radicle-explorer.nix
|
||||
./OuterWildsTextAdventure.nix
|
||||
./garage.nix
|
||||
];
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
options = {
|
||||
youthlic.programs.caddy = {
|
||||
enable = lib.mkEnableOption "caddy";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue