migrate www config

This commit is contained in:
XenGi 2026-02-13 21:50:26 +01:00
parent 3f072e5ecf
commit bfd37e1389
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
5 changed files with 99 additions and 11 deletions

View file

@ -108,6 +108,18 @@
#pkgs = import nixpkgs { inherit system; };
inherit system;
modules = [
agenix.nixosModules.default
{ environment.systemPackages = [ (agenix.packages.${system}.default) ]; }
{
age.secrets = {
www-staging-htpasswd = {
file = ./secrets/www-staging-htpasswd.age;
owner = "nginx";
group = "nginx";
mode = "0440";
};
};
}
./hosts/www
];
};