1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +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/
!hosts/cube/forgejo/ !hosts/cube/forgejo/
!hosts/cube/grafana/ !hosts/cube/grafana/
!hosts/cube/mail/
!hosts/cube/matrix/ !hosts/cube/matrix/
!hosts/cube/nextcloud/ !hosts/cube/nextcloud/
!hosts/cube/restic/ !hosts/cube/restic/

View file

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

View file

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

View file

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

View file

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