Trying to automate dir creation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user