add timokau as an admin (#32)
* add timokau as an admin * Add 1 git-crypt collaborator New collaborators: 7D35A638 Timo Kaufmann <eisfreak7@gmail.com>
This commit is contained in:
parent
6fa7da4088
commit
4668cc8603
2 changed files with 23 additions and 0 deletions
Binary file not shown.
23
users/timokau.nix
Normal file
23
users/timokau.nix
Normal 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" ];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue