[fugitive] Set up wildcard cert
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ impermanence, pkgs, ... }:
|
||||
{ config, pkgs, agenix, ... }:
|
||||
|
||||
let
|
||||
|
||||
@@ -67,6 +67,10 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.namecheap.file = ../../../secrets/namecheap.age;
|
||||
};
|
||||
|
||||
security = {
|
||||
sudo = {
|
||||
wheelNeedsPassword = false;
|
||||
@@ -76,7 +80,14 @@ in
|
||||
};
|
||||
acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "cert@ctsk.xyz";
|
||||
defaults.email = "monitor@ctsk.dev";
|
||||
|
||||
certs."enclave.ctsk.dev" = {
|
||||
dnsProvider = "namecheap";
|
||||
environmentFile = config.age.secrets.namecheap.path;
|
||||
group = "nginx";
|
||||
extraDomainNames = [ "*.enclave.ctsk.dev" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{ config, lib, pkgs, modulesPath, impermanence, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
||||
Reference in New Issue
Block a user