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,22 +20,25 @@
|
|||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
services =
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
crowdsec = {
|
||||
enable = true;
|
||||
bouncers.firewall = true;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
web-services =
|
||||
let
|
||||
sstorkDomain = "sstork.dev";
|
||||
sproutedDomain = "sprouted.cloud";
|
||||
in
|
||||
{
|
||||
tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
crowdsec = {
|
||||
enable = true;
|
||||
bouncers.firewall = true;
|
||||
};
|
||||
|
||||
personal-blog = {
|
||||
enable = true;
|
||||
domain = sstorkDomain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue