Move modules alloy and atuin from web-services to services

This commit is contained in:
SebastianStork 2026-02-07 22:28:48 +01:00
parent 10a1eafca4
commit a9b26c8198
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
4 changed files with 14 additions and 13 deletions

View file

@ -26,12 +26,18 @@
services = { services = {
dns.enable = true; dns.enable = true;
syncthing = { syncthing = {
enable = true; enable = true;
isServer = true; isServer = true;
gui.domain = "syncthing.${privateDomain}"; gui.domain = "syncthing.${privateDomain}";
doBackups = true; doBackups = true;
}; };
atuin = {
enable = true;
domain = "atuin.${privateDomain}";
};
}; };
web-services = { web-services = {
@ -46,11 +52,6 @@
domain = "budget.${privateDomain}"; domain = "budget.${privateDomain}";
doBackups = true; doBackups = true;
}; };
atuin = {
enable = true;
domain = "atuin.${privateDomain}";
};
}; };
}; };
} }

View file

@ -1,9 +1,9 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.custom.web-services.alloy; cfg = config.custom.services.alloy;
in in
{ {
options.custom.web-services.alloy = { options.custom.services.alloy = {
enable = lib.mkEnableOption ""; enable = lib.mkEnableOption "";
domain = lib.mkOption { domain = lib.mkOption {
type = lib.types.nonEmptyStr; type = lib.types.nonEmptyStr;

View file

@ -1,9 +1,9 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.custom.web-services.atuin; cfg = config.custom.services.atuin;
in in
{ {
options.custom.web-services.atuin = { options.custom.services.atuin = {
enable = lib.mkEnableOption ""; enable = lib.mkEnableOption "";
domain = lib.mkOption { domain = lib.mkOption {
type = lib.types.nonEmptyStr; type = lib.types.nonEmptyStr;

View file

@ -8,10 +8,10 @@
services = { services = {
auto-gc.onlyCleanRoots = true; auto-gc.onlyCleanRoots = true;
comin.enable = true; comin.enable = true;
}; alloy = {
web-services.alloy = { enable = true;
enable = true; domain = "alloy.${config.networking.hostName}.${config.custom.networking.overlay.domain}";
domain = "alloy.${config.networking.hostName}.${config.custom.networking.overlay.domain}"; };
}; };
}; };
} }