1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 02:57:44 +00:00

Put mail.nix in its own directory

This commit is contained in:
RGBCube 2024-04-30 12:56:07 +03:00
parent eae2bf434e
commit 611498905f
No known key found for this signature in database
7 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@
!hosts/cube/
!hosts/cube/forgejo/
!hosts/cube/grafana/
!hosts/cube/mail/
!hosts/cube/matrix/
!hosts/cube/nextcloud/
!hosts/cube/restic/

View file

@ -8,7 +8,7 @@ let
port = 8004;
in systemConfiguration {
secrets.forgejoMailPassword = {
file = ../password.plain.mail.age;
file = ../mail/password.plain.age;
owner = "forgejo";
};
secrets.forgejoRunnerPassword = {

View file

@ -12,7 +12,7 @@ in systemConfiguration {
owner = "grafana";
};
secrets.grafanaMailPassword = {
file = ../password.plain.mail.age;
file = ../mail/password.plain.age;
owner = "grafana";
};

View file

@ -7,7 +7,7 @@ let
prometheusPort = 9040;
in systemConfiguration {
secrets.mailPassword.file = ./password.plain.mail.age;
secrets.mailPassword.file = ./password.plain.age;
services.prometheus = {
exporters.postfix = enabled {

View file

@ -5,8 +5,8 @@ in with keys; {
"hosts/cube/id.age".publicKeys = [ cube enka ];
"hosts/cube/password.rgb.age".publicKeys = [ cube enka ];
"hosts/cube/password.plain.mail.age".publicKeys = [ cube enka ];
"hosts/cube/password.hash.mail.age".publicKeys = [ cube enka ];
"hosts/cube/mail/password.plain.age".publicKeys = [ cube enka ];
"hosts/cube/mail/password.hash.age".publicKeys = [ cube enka ];
"hosts/cube/forgejo/password.runner.age".publicKeys = [ cube enka ];