feat: add self-signed cert support and local dev hosts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
flake.modules.nixos.yookr-dev =
|
||||
{ config, ... }:
|
||||
{
|
||||
security.pki.certificateFiles = [
|
||||
../hosts/${config.facts.machine.name}/mkcert-rootCA.pem
|
||||
];
|
||||
|
||||
networking.extraHosts = ''
|
||||
127.0.0.1 local.management.yookr.org
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user