Rename the namespace of the system-modules

This commit is contained in:
SebastianStork 2025-05-27 22:19:35 +02:00
parent 61f32cb7ea
commit 06623cd93a
34 changed files with 162 additions and 153 deletions

View file

@ -5,7 +5,7 @@
...
}:
let
nodes = config.myConfig.tailscale.caddyServe |> lib.filterAttrs (_: value: value.enable);
nodes = config.custom.services.tailscale.caddyServe |> lib.filterAttrs (_: value: value.enable);
caddy-tailscale = pkgs.caddy.withPlugins {
plugins = [ "github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556" ];
@ -13,7 +13,7 @@ let
};
in
{
options.myConfig.tailscale.caddyServe = lib.mkOption {
options.custom.services.tailscale.caddyServe = lib.mkOption {
type = lib.types.attrsOf (
lib.types.submodule (
{ name, ... }:

View file

@ -5,10 +5,10 @@
...
}:
let
cfg = config.myConfig.tailscale;
cfg = config.custom.services.tailscale;
in
{
options.myConfig.tailscale = {
options.custom.services.tailscale = {
enable = lib.mkEnableOption "";
subdomain = lib.mkOption {
type = lib.types.nonEmptyStr;