mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
lets see if this works
This commit is contained in:
parent
b81936bc34
commit
a55f387351
3 changed files with 23 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
nix-secrets.url = "git+ssh://git@github.com/TheWanderingCrow/nix-secrets";
|
||||
terranix.url = "github:terranix/terranix";
|
||||
the-nest.url = "github:TheWanderingCrow/the-nest";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ lib.mkIf config.user.overseer.enable {
|
|||
environmentFile = config.sops.templates."aws_env".path;
|
||||
};
|
||||
certs = {
|
||||
"wanderingcrow.net" = {};
|
||||
"bar.wanderingcrow.net" = {};
|
||||
"home.wanderingcrow.net" = {};
|
||||
"homebox.wanderingcrow.net" = {};
|
||||
|
|
|
|||
21
modules/users/overseer/services/the-nest.nix
Normal file
21
modules/users/overseer/services/the-nest.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.user.overseer.enable {
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"wanderingcrow.net" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "wanderingcrow.net";
|
||||
root = inputs.the-nest;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue