summaryrefslogtreecommitdiff
path: root/modules/users/git.nix
blob: 494f4b5a817b018dd430f428961394e0eaaa35e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }: {
	users = {
		mutableUsers = false;
		users.git = {
			isNormaluser = false;
			description = "user for git and building automation";
			extraGroups = [ "builders" ];

			openssh.authorizedKeys.keys = [
        "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHslJRD5+7rytlVDzeZh6B/4XW8QWQ5dsWWDBbOXKTrJ defin@zenbook"
			];
		};
	};

	services.openssh = { settings.PasswordAuthenitcation = false; };
}