This commit is contained in:
m3tam3re
2024-09-23 14:30:14 +02:00
parent b2c3dba781
commit 78a720e1a3
14 changed files with 269 additions and 7 deletions

View File

@ -36,6 +36,7 @@
imports = [
../common
./configuration.nix
./secrets.nix
./services
];

View File

@ -0,0 +1,13 @@
{
age = {
secrets = {
secret1 = {
file = ../../secrets/secret1.age;
};
m3tam3re-secrets = {
file = ../../secrets/m3tam3re-secrets.age;
owner = "m3tam3re";
};
};
};
}

View File

@ -1,5 +1,6 @@
{
imports = [
./echo.nix
./nginx.nix
];
}

View File

@ -0,0 +1,8 @@
{config, ...}: {
virtualisation.oci-containers.containers."nginx" = {
image = "docker.io/nginx:alpine";
environmentFiles = [
config.age.secrets.secret1.path
];
};
}