infrastructure/hosts/kinda.sus.lol/secrets.nix

36 lines
994 B
Nix
Raw Normal View History

2023-04-12 12:47:22 +00:00
{ 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;
};
2024-01-05 20:10:10 +00:00
sops.secrets."services/nginx/music.htpasswd" = {
mode = "0400";
owner = config.users.users.nginx.name;
group = config.users.users.nginx.group;
};
2024-01-24 20:04:41 +00:00
sops.secrets."services/nginx/transfersh.htpasswd" = {
mode = "0400";
owner = config.users.users.transfersh.name;
group = config.users.users.transfersh.group;
};
2023-04-16 08:33:46 +00:00
# HedgeDoc
sops.secrets."services/hedgedoc/.env" = {
mode = "0400";
owner = config.users.users.hedgedoc.name;
sopsFile = ./secrets/hedgedoc.env;
format = "dotenv";
};
2023-04-12 12:47:22 +00:00
}