nix-config/machines/porthos/users.nix

13 lines
269 B
Nix
Raw Normal View History

2021-02-07 23:07:20 +01:00
# User setup
{ ... }:
2021-02-07 23:07:20 +01:00
{
users.users.blog = {
description = "Blog Publisher";
isNormalUser = true;
group = "nginx";
createHome = false; # Messes with permissions
2021-02-07 23:07:20 +01:00
home = "/var/www/";
openssh.authorizedKeys.keyFiles = [ ./ssh/drone.pub ];
2021-02-07 23:07:20 +01:00
};
}