refactor: rename modules to nixosModules

This commit is contained in:
Romain Paquet 2026-01-27 14:36:11 +01:00
parent 2eb4dc3730
commit 7062c95697
24 changed files with 21 additions and 8 deletions

13
nixosModules/lounge.nix Normal file
View file

@ -0,0 +1,13 @@
let
tld = "val";
domain = "lounge.${tld}";
in
{
services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
root = "/var/www/lounge";
};
security.acme.certs.${domain}.server = "https://ca.${tld}/acme/acme/directory";
}