server enableoption
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{config, ...}: {
|
||||
server = {
|
||||
enable = true;
|
||||
email = "adam@cnst.dev";
|
||||
domain = "cnst.dev";
|
||||
caddy = {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
cfg = config.server;
|
||||
in {
|
||||
options.server = {
|
||||
enable = lib.mkEnableOption "The homelab services and configuration variables";
|
||||
email = mkOption {
|
||||
default = "";
|
||||
type = types.str;
|
||||
|
||||
Reference in New Issue
Block a user