make zowoq an admin
This commit is contained in:
parent
3eff63e394
commit
18297ff6cd
4 changed files with 21 additions and 6 deletions
|
@ -56,6 +56,7 @@ As PRs from forks don't have automatic CI checks, admins can test PRs by posting
|
|||
* @nlewo
|
||||
* @ryantm
|
||||
* @zimbatm
|
||||
* @zowoq
|
||||
|
||||
## Services
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFbCYwWByGE46XHH4Q0vZgQ5sOUgbH50M8KO2xhBC4m/
|
|
@ -43,11 +43,6 @@ let
|
|||
};
|
||||
|
||||
winter.keys = ./keys/winter;
|
||||
|
||||
zowoq = {
|
||||
trusted = true;
|
||||
keys = ./keys/zowoq;
|
||||
};
|
||||
};
|
||||
|
||||
ifAttr = key: default: result: opts:
|
||||
|
|
20
users/zowoq.nix
Normal file
20
users/zowoq.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
userLib = import ./lib.nix { inherit lib; };
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFbCYwWByGE46XHH4Q0vZgQ5sOUgbH50M8KO2xhBC4m/"
|
||||
];
|
||||
|
||||
in
|
||||
{
|
||||
users.users.zowoq = {
|
||||
openssh.authorizedKeys.keys = keys;
|
||||
useDefaultShell = true;
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"trusted"
|
||||
];
|
||||
uid = userLib.mkUid "zowo";
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue