18 lines
465 B
Nix
18 lines
465 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
sops.defaultSopsFile = ./secrets/nginx.yaml;
|
||
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||
|
|
||
|
# Nginx
|
||
|
sops.secrets."services/nginx/admin.htpasswd" = {
|
||
|
mode = "0400";
|
||
|
owner = config.users.users.nginx.name;
|
||
|
group = config.users.users.nginx.group;
|
||
|
};
|
||
|
sops.secrets."services/nginx/ecchi.htpasswd" = {
|
||
|
mode = "0400";
|
||
|
owner = config.users.users.nginx.name;
|
||
|
group = config.users.users.nginx.group;
|
||
|
};
|
||
|
}
|