move modules to seperate folder

This commit is contained in:
Grimmauld 2023-12-29 11:51:41 +00:00
parent 477bf5bf90
commit d34dee84bd
8 changed files with 8 additions and 8 deletions

View file

@ -25,12 +25,12 @@
inherit system;
modules = [
./configuration.nix
./matrix.nix
./puffer.nix
./gitea.nix
./letsencrypt.nix
./fail2ban.nix
./email.nix
./modules/matrix.nix
./modules/puffer.nix
./modules/gitea.nix
./modules/letsencrypt.nix
./modules/fail2ban.nix
./modules/email.nix
agenix.nixosModules.default
nixos-mailserver.nixosModules.default
nixos-matrix-modules.nixosModules.default

View file

@ -86,12 +86,12 @@ host replication all ::1/128 md5
services.redis.servers."".enable = true;
age.secrets.synapse_db_pass = {
file = ./secrets/synapse_db_pass.age;
file = ../secrets/synapse_db_pass.age;
owner = "postgres";
group = "postgres";
};
age.secrets.synapse_db_pass_prepared = {
file = ./secrets/synapse_db_pass_prepared.age;
file = ../secrets/synapse_db_pass_prepared.age;
owner = "matrix-synapse";
group = "matrix-synapse";
mode = "0600";