mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Refactor web services to use a unified web-services namespace
This commit is contained in:
parent
308ee43ec4
commit
02846ab16f
22 changed files with 103 additions and 99 deletions
|
|
@ -20,16 +20,16 @@
|
|||
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
services =
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
web-services =
|
||||
let
|
||||
tailscaleDomain = config.custom.services.tailscale.domain;
|
||||
in
|
||||
{
|
||||
tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
gatus = {
|
||||
enable = true;
|
||||
domain = "status.${tailscaleDomain}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue