rico2: enable caddy
This commit is contained in:
parent
182ccc39c6
commit
a86dd2d5f1
3 changed files with 9 additions and 1 deletions
8
hosts/rico2/services/caddy.nix
Normal file
8
hosts/rico2/services/caddy.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }: let
|
||||||
|
caddy_config = (import ../../../secrets.nix).caddy_config;
|
||||||
|
in {
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
email = caddy_config.email;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [./frpc.nix];
|
imports = [./caddy.nix ./frpc.nix];
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
}
|
}
|
||||||
|
|
BIN
secrets.nix
BIN
secrets.nix
Binary file not shown.
Loading…
Reference in a new issue