sopt-nix units restarting, secrets reroll

This commit is contained in:
bogale 2026-10-29 13:54:20 +09:00
commit 4fe7fa250f
12 changed files with 39 additions and 28 deletions

View file

@ -49,7 +49,7 @@
};
sops = {
secrets = {
awg1-spec = { };
awg1-spec.restartUnits = [ "wg-quick-awg0.service" ];
cf-token = { };
};
templates.awg1-conf.content = ''
@ -67,8 +67,8 @@
];
users = {
groups = {
php.gid = 1568;
vmail.gid = 1819;
php = { };
vmail = { };
};
users = {
nginx.extraGroups = [
@ -79,7 +79,6 @@
php = {
group = "php";
isSystemUser = true;
uid = 1568;
};
root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTb4c1ISQSV34GN27GgaJ08jpiRM3Wul/iSWjQ6emTq"
@ -87,7 +86,6 @@
vmail = {
group = "vmail";
isSystemUser = true;
uid = 1819;
};
};
};