feat: Use mirai as substituter

This commit is contained in:
uttarayan21
2024-11-22 20:27:10 +05:30
parent 5a1729328e
commit f26456606b
9 changed files with 62 additions and 60 deletions

View File

@@ -8,36 +8,32 @@
factorio-headless
];
sops = {
secrets = {
"authelia/darksailor/jwtSecret" = {
owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
};
"authelia/darksailor/storageEncryptionSecret" = {
owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
};
};
# secrets = {
# "authelia/darksailor/jwtSecret".owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
# "authelia/darksailor/storageEncryptionSecret".owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
# };
};
services = {
authelia = {
instances.darksailor = {
enable = true;
settings = {
# server = {
# address = "unix:///run/authelia/authelia.sock";
# };
# session.domain = "auth.darksailor.dev";
access_control = {
rules = {
};
};
storage = "local";
};
secrets = {
jwtSecretFile = config.sops.secrets."authelia/darksailor/jwtSecret".path;
storageEncryptionKeyFile = config.sops.secrets."authelia/darksailor/storageEncryptionSecret".path;
};
};
};
# authelia = {
# instances.darksailor = {
# enable = false;
# settings = {
# # server = {
# # address = "unix:///run/authelia/authelia.sock";
# # };
# # session.domain = "auth.darksailor.dev";
# access_control = {
# rules = {
# };
# };
# storage = "local";
# };
# secrets = {
# jwtSecretFile = config.sops.secrets."authelia/darksailor/jwtSecret".path;
# storageEncryptionKeyFile = config.sops.secrets."authelia/darksailor/storageEncryptionSecret".path;
# };
# };
# };
tailscale = {
enable = true;
};