2.home-manager/tests/modules/programs/aperture/settings.nix
2026-01-14 16:23:09 -06:00

19 lines
431 B
Nix

{
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}
'';
}