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 = {
dns.enable = true;
syncthing = {
enable = true;
isServer = true;
gui.domain = "syncthing.${privateDomain}";
doBackups = true;
};
atuin = {
enable = true;
domain = "atuin.${privateDomain}";
};
};
web-services = {
@ -46,11 +52,6 @@
domain = "budget.${privateDomain}";
doBackups = true;
};
atuin = {
enable = true;
domain = "atuin.${privateDomain}";
};
};
};
}

View file

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

View file

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

View file

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