Added temporary service
This commit is contained in:
parent
411f25cdd5
commit
1ede9eeb2b
1 changed files with 14 additions and 0 deletions
14
system/server/temp.nix
Normal file
14
system/server/temp.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.niksos.server {
|
||||||
|
# NOTE: allows me to spin up temporarily services.
|
||||||
|
services.caddy.virtualHosts."temp.jsw.tf".extraConfig = ''
|
||||||
|
reverse_proxy :8000
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue