add timokau as an admin ()

* add timokau as an admin

* Add 1 git-crypt collaborator

New collaborators:

	7D35A638 Timo Kaufmann <eisfreak7@gmail.com>
This commit is contained in:
zimbatm 2020-06-24 20:42:34 +02:00 committed by GitHub
parent 6fa7da4088
commit 4668cc8603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

23
users/timokau.nix Normal file
View file

@ -0,0 +1,23 @@
{ config, pkgs, lib, ... }:
let
userLib = import ./lib.nix { inherit lib; };
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0B85hC3DH2QDmhbaeAItRSdERs/3kKz+GEDPqDCXeE"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEv6hnwYUT6oQvHmRK08IN8GnW9vywF/bpcDEq3jn9QP"
];
in
{
users.users.timo = {
openssh.authorizedKeys.keys = keys;
useDefaultShell = true;
isNormalUser = true;
extraGroups = [
"wheel"
];
uid = userLib.mkUid "timo";
};
nix.trustedUsers = [ "timo" ];
}