move lituus to agenix

This commit is contained in:
Anish Lakhwara
2022-10-10 19:10:07 +10:00
parent ce79882247
commit 9e12445a3e
3 changed files with 33 additions and 24 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
{ pkgs, lib, config, ... }:
{
age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age";
age.secrets.sealight-mod-password.owner = "mjolnir";
services.mjolnir = {
enable = true;
protectedRooms = [
@@ -13,7 +15,7 @@
pantalaimon = {
enable = true;
username = "mod";
passwordFile = "/run/agenix/sealight-mod-password"; # TODO
passwordFile = "/run/agenix/sealight-mod-password";
options.homeserver = config.services.mjolnir.homeserverUrl;
};
};