flake parts, migrated modules
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.servers.ombi;
|
||||
setup = import ../factories/mkserver.nix { inherit lib config; };
|
||||
in
|
||||
{
|
||||
options.my.servers.ombi = setup.mkOptions "ombi" "requests" 3425;
|
||||
options.my.servers.ombi = inputs.self.lib.mkServerOptions "ombi" "requests" 3425 lib;
|
||||
config.services.ombi = lib.mkIf cfg.enable {
|
||||
inherit (cfg) enable port;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user