Add user for automatic drone deployments of nix aalborg website

This commit is contained in:
Emelie Graven 2021-11-18 16:13:10 +01:00
parent f6f8527276
commit 51ba0ae296
Signed by: emelie
GPG key ID: C11123726DBB55A1

View file

@ -40,6 +40,14 @@
]; ];
}; };
users.users.deploy = {
isNormalUser = true;
extraGroups = [ "nginx" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILk4m1uJzxd7pDmMZgnZxqD6lEIfVPf+I4tKPo0jJJrK deploy@drone.data.coop"
];
};
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [