2021-02-07 23:07:20 +01:00
|
|
|
# User setup
|
2021-11-05 14:12:54 +01:00
|
|
|
{ ... }:
|
2021-02-07 23:07:20 +01:00
|
|
|
{
|
|
|
|
users.users.blog = {
|
|
|
|
description = "Blog Publisher";
|
|
|
|
isNormalUser = true;
|
|
|
|
group = "nginx";
|
2021-02-08 14:53:02 +01:00
|
|
|
createHome = false; # Messes with permissions
|
2021-02-07 23:07:20 +01:00
|
|
|
home = "/var/www/";
|
2021-09-25 14:45:16 +02:00
|
|
|
openssh.authorizedKeys.keyFiles = [ ./ssh/drone.pub ];
|
2021-02-07 23:07:20 +01:00
|
|
|
};
|
|
|
|
}
|