Trying to automate dir creation

This commit is contained in:
2024-12-27 14:54:45 +02:00
parent 8541e66ea3
commit b97bd9c7d9

View File

@@ -26,14 +26,15 @@
];
users.users.website = {
home = "/srv/website";
createHome = true;
isSystemUser = true;
group = "users";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren"
];
};
systemd.tmpfiles.rules = [
"d /srv/website 0700 website website"
];
sops = {
defaultSopsFile = ./secrets.yaml;