feat: updated glance

This commit is contained in:
Nick 2025-05-26 14:56:10 -05:00
parent 8d4ce8d2f9
commit a5bfa31ada
19 changed files with 115 additions and 22 deletions

View file

@ -6,7 +6,7 @@ let
service = glance;
configPath = ./config;
configImports = {
server = import (configPath + /server.nix) { inherit service; };
server = import (configPath + /server.nix) { inherit flake service; };
branding = import (configPath + /branding.nix);
theme = import (configPath + /theme.nix);
pages = import (configPath + /pages.nix) { inherit config flake; };
@ -22,9 +22,10 @@ in
sops =
let
sopsPath = secret: {
path = "${service.sops.path0}/${service.name}-${secret}";
path = "/run/secrets/${service.name}-${secret}";
owner = "root";
mode = "600";
group = "root";
mode = "644";
};
in
{