aperture: add module

This commit is contained in:
Aguirre Matteo 2026-01-14 13:52:12 -03:00 committed by Austin Horstman
parent 85c83f7096
commit 9ab59a43cc
4 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,6 @@
autocert: false
debuglevel: debug
listenaddr: localhost:8081
servername: aperture.example.com
servestatic: false
staticroot: ./static

View file

@ -0,0 +1 @@
{ aperture-settings = ./settings.nix; }

View file

@ -0,0 +1,19 @@
{
programs.aperture = {
enable = true;
settings = {
listenaddr = "localhost:8081";
staticroot = "./static";
servestatic = false;
debuglevel = "debug";
autocert = false;
servername = "aperture.example.com";
};
};
nmt.script = ''
assertFileExists home-files/.aperture/aperture.yaml
assertFileContent home-files/.aperture/aperture.yaml \
${./aperture.yaml}
'';
}