mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
Move modules alloy and atuin from web-services to services
This commit is contained in:
parent
10a1eafca4
commit
a9b26c8198
4 changed files with 14 additions and 13 deletions
|
|
@ -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}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -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}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue